Home » Developer & Programmer » JDeveloper, Java & XML » problem with SOAP wsdl file from jdeveloper??
problem with SOAP wsdl file from jdeveloper?? [message #196234] Wed, 04 October 2006 10:24
Messages: 1
Registered: October 2006
Junior Member
hi im having a problem with wsdl file generated from jdeveloper.

I expose a pl/sql function as a web service. I can then conect to the soap url with a web browser and sucessfull publish data to the db from this , but if i take the wsdl file from jdeveloper in to a soap test client (magoo) i get an error, on anything that trys to post data back to the DB ???

the error is

No Deserializer found to deserialize a ':emp' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.

im not using BPEL (which i know has some soap problems)


<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:m='MyWebService-v9' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:ns1='http://oadev11/Company.xsd' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
<soapenv:Body soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
<eid xsi:type='xsd:int'>7</eid>
<efirstname xsi:type='xsd:string'>mr</efirstname>
<elastname xsi:type='xsd:string'>magoo</elastname>
<street xsi:type='xsd:string'>granby grove</street>
<city xsi:type='xsd:string'>southampton</city>
<state xsi:type='xsd:string'>uk</state>
<zip xsi:type='xsd:string'>so</zip>
<salary xsi:type='xsd:double'>1000</salary>

this returns an error,
No Deserializer found to deserialize a ':emp' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
ive tested the client with the googlesearchapi wsdl file, so the client is working ok, I think there might be a problem with the wsdl file generation. can anyone sugest what this might be?

conecting directly to the soap service url and submitting xml suggested by the interface, adds the entry to the databse and works fine

<emp xmlns:ns1="http://oadev11/Company.xsd"
<eid xsi:type="xsd:int">7</eid>
<efirstname xsi:type="xsd:string">MR</efirstname>
<elastname xsi:type="xsd:string">MAGGO</elastname>
<addr xsi:type="ns1:oadev11_AddressUser">
<street xsi:type="xsd:string">Granby grove</street>
<city xsi:type="xsd:string">southampton</city>
<state xsi:type="xsd:string">uk</state>
<zip xsi:type="xsd:string">SO</zip>
<salary xsi:type="xsd:double">1000</salary>

This sucessfuly ads the entry to the databse any ideas please?
  • Attachment: Company.wsdl
    (Size: 5.44KB, Downloaded 272 times)
Previous Topic: resultset.next() bottleneck-Problem
Next Topic: XML Data collection
Goto Forum:

Current Time: Sun May 28 19:19:41 CDT 2017

Total time taken to generate the page: 0.09197 seconds