Hi.

Finally, I success deploy  Ping-Pong example  to servicemix.

but I find Ping-Pong/message.soap error.

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
  <SOAP-ENV:Body>
 <PingRequest xmlns="urn:/Ping.wsdl">
        <text>hello</text>
    </PingRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

then, I fix it follow
<PingRequest xmlns... > ====> <Ping xmlns....> 

Also ServiceMixMapper.java src bug??

if ( elementName != null && elementName.getLocalPart().equals( 
msg.getLocalName())
        && elementName.getNamespaceURI().equals(msg.getNamespaceURI()) ) {
      
- elementName.getLocalPart() is value PingRequest.
- msg.getLocalName() is value Ping.

then.. i fix it.

if ( elementName != null && op.getName().equals( msg.getLocalName())
        && elementName.getNamespaceURI().equals(msg.getNamespaceURI()) ) {

Also
if ( elementName != null && elementName.getLocalPart().equals( 
nms.getLocalName())
        && elementName.getNamespaceURI().equals(nms.getNamespaceURI()) ) {

I guess fix it above source.

elementName.getLocalPart().equals( nms.getLocalName()) part

I wish to perpect PingPong Example src.

I will look forward to get your reply. 


Reply via email to