<PingRequest> is the correct top-level element for the input message since the SOAP message format is Document-Literal.
Which versions of Ode and ServiceMix are you using? The example works as-is for me with the latest Ode and ServiceMix trunks. alex 이호훈 wrote: > 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. > > >
