You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by jawadwasiq <ja...@swiftbsol.com> on 2012/11/19 12:02:47 UTC

No injection for DefaultSEIPort.http-conduit

When using PAYLAOD format to invoke the CXF Endpoint Service,
DefaultSEIPort.http-conduit  doesnot seem to be injected! Replacing conduit
name to *.* also does not help! Please help. 

In logs, I see it as 

[d #0 - JmsConsumer[toSAPQueue]] ConfigurerImpl                 DEBUG Could
not find a definition for bean with id
{http://camel.apache.org/cxf/jaxws/dispatch}DefaultSEIPort.http-conduit - no
injection will be performed.
[d #0 - JmsConsumer[toSAPQueue]] HTTPConduit                    DEBUG
Conduit
'{http://camel.apache.org/cxf/jaxws/dispatch}DefaultSEIPort.http-conduit'
has been (re)configured for plain http.
 

*ENDPOINT* 
<cxf:cxfEndpoint id=&quot;toWSEndPoint&quot; 
                   address=&quot;http://${host}:${port}/Ping&quot; 
                     bus=&quot;&lt;b>rmBUS"> 

        <cxf:properties>
            <entry key="dataFormat" value="PAYLOAD"/>
        </cxf:properties>
</cxf:cxfEndpoint>

*CONDUIT*
<http-conf:conduit 
name="{http://camel.apache.org/cxf/jaxws/dispatch}DefaultSEIPort.http-conduit">
         <http-conf:client Connection="Keep-Alive" 
                      MaxRetransmits="3" 
                      AllowChunking="false" />

     <http-conf:authorization>  
        <security:UserName>user</security:UserName>
        <security:Password>pwd</security:Password>
     </http-conf:authorization>  
 </http-conf:conduit>  



--
View this message in context: http://cxf.547215.n5.nabble.com/No-injection-for-DefaultSEIPort-http-conduit-tp5718716.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: No injection for DefaultSEIPort.http-conduit

Posted by Aki Yoshida <el...@gmail.com>.
I think this should be working.
Are you sure that your message is routed to the right cxf endpoint and
this endpoint is available?
If you are using an OSGi based scenario, you have to make sure that
your scenario imports org.apache.camel.component.cxf so that
camel-cxf's default-sei class can be loaded.
regards, aki

p.s. You scenario is for camel-cxf and not pure cxf, so asking at
users@camel would have been more appropriate, though.

2012/11/19 jawadwasiq <ja...@swiftbsol.com>:
> When using PAYLAOD format to invoke the CXF Endpoint Service,
> DefaultSEIPort.http-conduit  doesnot seem to be injected! Replacing conduit
> name to *.* also does not help! Please help.
>
> In logs, I see it as
>
> [d #0 - JmsConsumer[toSAPQueue]] ConfigurerImpl                 DEBUG Could
> not find a definition for bean with id
> {http://camel.apache.org/cxf/jaxws/dispatch}DefaultSEIPort.http-conduit - no
> injection will be performed.
> [d #0 - JmsConsumer[toSAPQueue]] HTTPConduit                    DEBUG
> Conduit
> '{http://camel.apache.org/cxf/jaxws/dispatch}DefaultSEIPort.http-conduit'
> has been (re)configured for plain http.
>
>
> *ENDPOINT*
> <cxf:cxfEndpoint id=&quot;toWSEndPoint&quot;
>                    address=&quot;http://${host}:${port}/Ping&quot;
>                      bus=&quot;&lt;b>rmBUS">
>
>         <cxf:properties>
>             <entry key="dataFormat" value="PAYLOAD"/>
>         </cxf:properties>
> </cxf:cxfEndpoint>
>
> *CONDUIT*
> <http-conf:conduit
> name="{http://camel.apache.org/cxf/jaxws/dispatch}DefaultSEIPort.http-conduit">
>          <http-conf:client Connection="Keep-Alive"
>                       MaxRetransmits="3"
>                       AllowChunking="false" />
>
>      <http-conf:authorization>
>         <security:UserName>user</security:UserName>
>         <security:Password>pwd</security:Password>
>      </http-conf:authorization>
>  </http-conf:conduit>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/No-injection-for-DefaultSEIPort-http-conduit-tp5718716.html
> Sent from the cxf-user mailing list archive at Nabble.com.