CXF error

Mike Barnes <[email protected]>
Newsgroups gmane.org.user-groups.ajug.members
Message-ID <CAJepgNfCO+sDe2q8n9pWcBwmUqR9DA-rk=2vBjk-4NY0jTJ4mQ@mail.gmail.com>
I have an issue where we are migrating a webservice and the soap message
has changed slightly.

What I need to know is if there is a way to handle the soap message with
out changing code or do I have to generate an entirely new service.


Old soap message:(using CXF 2.0.6)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:api="http://api.useradmin.webservice.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <api:deleteOwner>
         <api:arg0>11388</api:arg0>
      </api:deleteOwner>
   </soapenv:Body>
</soapenv:Envelope>

New soap message (using CXF 2.4.3)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:api="http://api.useradmin.webservice.com">
   <soapenv:Header/>
   <soapenv:Body>
      <api:deleteOwner>
         <api:ownerXref>11388</api:ownerXref>
      </api:deleteOwner>
   </soapenv:Body>
</soapenv:Envelope>

Sending in the old format to the new codebase is causing null pointer
errors and as you can see I have "only" changed the name of the web parm.
Thanks
Mike Barnes

_______________________________________________
ajug-members mailing list
[email protected]
http://www.ajug.org/mailman/listinfo/ajug-members
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.