Topic
1 reply Latest Post - ‏2011-07-12T14:07:37Z by mburati
WaqasNisar
WaqasNisar
2 Posts
ACCEPTED ANSWER

Pinned topic Namespace is removed from Responce on WebSphere in SOAP based Service

‏2011-07-12T05:20:49Z |
Need help regarding SOAP based Webservice on Websphere 7. My Webservice receives request and process it properly but when it send response the NameSpace is removed form response envelop in websphere but when i put same project on tomcat it work fine we have namespace in response envelop.
Any body can guide me that it is a configuration issue or some development issue. i am using caster for marshalling.

Responce Envelop form Websphere 7 is

xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<GetUpdateContractInformationResponse>
<isSuccessful>true</isSuccessful>
</GetUpdateContractInformationResponse>
</soapenv:Body>
</soapenv:Envelope>]

Responce Envelop form Tomcat is

[<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<GetUpdateContractInformationResponse xmlns="http://www.example.org/My-WS/service">
<isSuccessful>true</isSuccessful>
</GetUpdateContractInformationResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>]
Updated on 2011-07-12T14:07:37Z at 2011-07-12T14:07:37Z by mburati
  • mburati
    mburati
    352 Posts
    ACCEPTED ANSWER

    Re: Namespace is removed from Responce on WebSphere in SOAP based Service

    ‏2011-07-12T14:07:37Z  in response to WaqasNisar
    This thread appears to be a duplicate of the same question asked yesterday.

    Please follow up in the previous thread at:
    http://www.ibm.com/developerworks/forums/thread.jspa?threadID=377167&tstart=0

    ..mb1