I hope somebody can tell me just wether it is possible or not to create the next soapmessage with Axis. For two weeks I'm trying to create the message and I failed to do so. The message I try to create is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<InlogRequest>
<dealer_code>12345</dealer_code>
<user_code>username</user_code>
<user_password>password</user_password>
</InlogRequest>
</soapenv:Body>
</soapenv:Envelope>
But Axis but namespaces in it and I can get rid of it. The real problem I'm facing is that the XML schema's include namespaces. So the code Axis created from the WSDL includes namespaces. Before I send the message I need to strip of these namespaces and when recieving the response I need to put the back on. I think I can use XSLT for it but the question is how can I do that. I tried to add a handler on the client side, but until now I can't figure out how.
basiclly my flow must be
Java Class --> SoapMessage with namespace --> XSLT transform --> SoapMessage without namespaces --> Send Request
and ofcource
Recieve response --> Soapmessage without namespace --> XSLT transform --> SoapMessage with namespace --> Java Class
Is this possible? If yes what to use. Should I create or subclass a Handler, since org.apache.axis.client.Service extends a BasicHandler or should I do something else?
Any help or pointer in the right direction is helpfull
Thanks
Johan
-- Nilling Software Design Postbus 43 2280 AA Rijswijk ZH w: http://www.nilling.nl