Hi, I think I got the problem resolved. Although, now I change the className for the service from the generated class to my implementation (I attached the deploy.wsdd) and see an xml parser error. I have the axis generated classes in the war file on the server side and am using the same classes for the client as well.
Stack trace:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Document root element is
missing.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3232)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3220)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:535)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:318)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at GetInfo.main(GetInfo.java:100)
org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at GetInfo.main(GetInfo.java:100)
Caused by: org.xml.sax.SAXParseException: Document root element is missing.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3232)
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3220)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:535)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:318)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
... 7 more
-----Original Message-----
From: Hari Lakshmanan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 10:04 AM
To: [EMAIL PROTECTED]
Subject: RE: error while deserializing
Make sure the namespace declaration on your deploy.wsdd matches with the
name space you use in your custom de-serializer.
-----Original Message-----
From: Bobba, Ramesh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 3:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: error while deserializing
Hi All,
I am practically stumped with this one. I can't see what the problem is!
The DeSerializer is set to the default one. The classes generated by the
WSDL2Java are in the classpath.
Can anyone see why I am seeing the problem?
Thanks
Ramesh.
-----Original Message-----
From: Bobba, Ramesh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 11:48 AM
To: '[EMAIL PROTECTED]'
Subject: error while deserializing
Hi,
I am getting the following error while sending a response. Seems it cant
find the FindDeviceRequest object but that class is in the
Web-inf/classes directory. Am I missing something?
Thanks,
Ramesh.
[java] <!-------------------- REQUEST ---------------->
[java] URL : http://localhost:7001/oamp_ws/oamp
[java] Headers :
[java] <env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://sche
mas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><en
v:Header/><env:Body
env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
"><m:findDevice
xmlns:m="http://www.insignia.com/ssp/oamp"><findDeviceRequest xm
lns:n1="java:com.insignia.oampAdapter.values"
xsi:type="n1:FindDeviceRequest"><e
xternalDeviceId
xsi:type="xsd:string">IMSI1</externalDeviceId></findDeviceReques
t></m:findDevice></env:Body></env:Envelope>
[java] <!-------------------- END REQUEST ------------>
[java] <!-------------------- RESPONSE --------------->
[java] URL : http://localhost:7001/oamp_ws/oamp
[java] Response Code :500
[java] Headers :
[java] Date=Tue, 02 Mar 2004 19:34:42 GMT
[java] Server=WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003
316284
[java] Content-Type=text/xml; charset=utf-8
[java] Connection=Close
[java] Envelope :
[java] <?xml version="1.0" encoding="UTF-8"?>
[java] <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/env
elope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.or
g/2001/XMLSchema-instance">
[java] <soapenv:Body>
[java] <soapenv:Fault>
[java] <faultcode>soapenv:Server.userException</faultcode>
[java] <faultstring>org.xml.sax.SAXException: Deserializing
parameter &a
pos;findDeviceRequest': could not find deserializer for type
{java:com.ins ignia.oampAdapter.values}FindDeviceRequest</faultstring>
[java] <detail/>
[java] </soapenv:Fault>
[java] </soapenv:Body>
[java] </soapenv:Envelope>
[java] <!-------------------- END RESPONSE ----------->
deploy.wsdd
Description: Binary data
