You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Bengali Bengali <be...@gmail.com> on 2005/12/13 13:03:57 UTC

Controlling prefix in doc/lit WS

Hi,

I am just wondering how I can control the prefix used in my document/literal

webservice.
I am using the stub and skeleton of Axis generated with WSDL2Java and its
autogenerated beans
(from the XML schemas of my WSDL)
I was wondering if it's possible to control the prefix used in my document
literal parameter and reponse
(there's no prefix so far)
I captured the following message in my SOAP request :
<soapenv:Body>
   <CallRq xmlns="http://www.mycompany">...

and I should provide (for B2B interoperability) the following:
<mc:CallRq xmlns:mc="http://www.mycompany">...

Also for the SOAP-Response, i got this:
<soapenv:Body>
   <CallRs xmlns="http://www.mycompany">...

and should have the following
<soapenv:Body>
   <mc:CallRs xmlns:mc="http://www.mycompany">...

Is it something that can be configured ?

Thanks
Luc