I've written a simple client using Apache SOAP.
My webservice is deplyed on Weblogic.
Using a proxy, this is what I send:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:decodeSubscriptions xmlns:ns1="http://localhost:7001/Entitlement/EBERenewalService" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ebDecodeSubRequest xmlns:ns2="java:com.symantec.eb.renewal.ws" xsi:type="ns2:ebDecodeSubRequest">
<NOS xsi:type="xsd:string">------------</NOS>
<requestVendor xsi:type="ns2:EbVendorInfo">
<vendorID xsi:type="xsd:int">----------</vendorID>
<vendorPW xsi:type="xsd:string">----------</vendorPW>
<vendorSiteID xsi:type="xsd:int">----------</vendorSiteID>
</requestVendor>
</ebDecodeSubRequest>
</ns1:decodeSubscriptions>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I get back from Weblogic:
SOAP Fault: [Attributes={}] [faultCode=env:Server] [faultString=Exception during processing: weblogic.xml.schema.binding.DeserializationException: type mapping lookup failure on type=['java:com.symantec.eb.renewal.ws']:ns2:ebDecodeSubRequest TypeMapping=TYPEMAPPING SIZE=36
ENTRY 1:
... (I'm saving you the clutter)
ENTRY 2:
... (I'm saving you the clutter)
ENTRY 3:
class: com.symantec.eb.renewal.ws.EbDecodeSubRequest
xsd_type: ['java:com.symantec.eb.renewal.ws']:p4:EbDecodeSubRequest
ser: [EMAIL PROTECTED]
deser: [EMAIL PROTECTED]
If you're familiar with Weblogic's webservice web application console, this is the request I'm sending through it:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<m:decodeSubscriptions xmlns:m="http://www.symantec.com/webservices/ebe">
<ebDecodeSubRequest xmlns:n1="java:com.symantec.eb.renewal.ws"
xsi:type="n1:EbDecodeSubRequest">
<NOS xsi:type="xsd:string">----------------</NOS>
<requestVendor xsi:type="n1:EbVendorInfo">
<vendorID xsi:type="xsd:int">-----</vendorID>
<vendorPW xsi:type="xsd:string">-----</vendorPW>
<vendorSiteID xsi:type="xsd:int">-----</vendorSiteID>
</requestVendor>
</ebDecodeSubRequest>
</m:decodeSubscriptions>
</env:Body>
</env:Envelope>
There are some differences. Namespaces and <env:Envelope> versus <SOAP-ENV:Envelope>
Has someone experienced a similiar problem?
Does it has something to do with Xerces parser?
I would very much like *not* to touch the server side.
Thanks.
- Apache SOAP 2.3.1 with Weblogic 8.1 Jonathan Taub
- Re: Apache SOAP 2.3.1 with Weblogic 8.1 Anne Thomas Manes
- Re: Apache SOAP 2.3.1 with Weblogic 8.1 Jonathan Taub
- Re: Apache SOAP 2.3.1 with Weblogic 8.1 Martin Gainty
- Re: Apache SOAP 2.3.1 with Weblogic 8.1 Jonathan Taub
- Re: Apache SOAP 2.3.1 with Weblogi... Martin Gainty
- Re: Apache SOAP 2.3.1 with Web... Jonathan Taub
