Note that there are some explanatory texts on larger screens.

plurals
  1. POWebsphere Web Service Has Different Namespaces On Different Deployments
    text
    copied!<p>I have a java webapp that exposes several webservice endpoints that appear to be behaving slightly differently under different deployments.</p> <p>Were using IBM Websphere 6.1 in all environments.</p> <p>The namespace on the requests that the service expects differs whether I deploy the ear locally or on the test env - i.e.</p> <p><strong>Test Env Request:</strong></p> <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:look="http://com.XXXX.bi/lookup"&gt; &lt;soapenv:Header&gt; &lt;look:Password&gt;XXXXX&lt;/look:Password&gt; &lt;look:Username&gt;XXXXX&lt;/look:Username&gt; &lt;/soapenv:Header&gt; &lt;soapenv:Body&gt; &lt;look:Lookup&gt; &lt;Role&gt;Admin&lt;/Role&gt; &lt;ID&gt;AB1234&lt;/ID&gt; &lt;Name&gt;Bob Smith&lt;/Name&gt; &lt;DOB&gt;1901-01-01&lt;/DOB&gt; &lt;/look:Lookup&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <p><strong>Local Request:</strong></p> <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:look="http://com.XXXX.bi/lookup"&gt; &lt;soapenv:Header&gt; &lt;look:Password&gt;XXXXX&lt;/look:Password&gt; &lt;look:Username&gt;XXXXX&lt;/look:Username&gt; &lt;/soapenv:Header&gt; &lt;soapenv:Body&gt; &lt;look:Lookup&gt; &lt;look:Role&gt;Admin&lt;/look:Role&gt; &lt;look:ID&gt;AB1234&lt;/look:ID&gt; &lt;look:Name&gt;Bob Smith&lt;/look:Name&gt; &lt;look:DOB&gt;1901-01-01&lt;/look:DOB&gt; &lt;/look:Lookup&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <p>Both the services on each environment function correctly and in the same manner. The WSDLs are both identical.</p> <p>I'm pretty sure this is going to end up being a Websphere config issue as I'm deploying the same ear in both circumstances, but I cant spot any differences between the envs.</p> <p>Anyone got any ideas what I would need to change?</p> <p>Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload