You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Steve Wells <St...@mohomine.com> on 2004/07/13 02:17:44 UTC
Invalid Attributes error
Note the following on WebLogic generates an error when I execute Axis
client code vs. no errors when I execute command directly via browser -
ideas? suggestions?
----------------------------------------------------------
On WebLogic I have a service MACCWS that I execute a getVersion() call via
web browser:
http://localhost:7007/axis/MACCWS.jws?method=init
the following appears in the soap monitor & all is OK:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
">
<soapenv:Body>
<getVersion>
</getVersion>
</soapenv:Body>
</soapenv:Envelope>
this response is generated and returned, all OK:
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<getVersionResponse soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/">
<getVersionReturn xsi:type="xsd:string">RevString</getVersionReturn>
</getVersionResponse>
</soapenv:Body>
</soapenv:Envelope>
However the following error is generated everytime a SOAP message is
submitted from an Axis client based on WSDL based java code:
<Jul 12, 2004 5:01:16 PM PDT> <Warning> <HTTP Session> <BEA-100061> <Web
application: ServletContext(id=30621423,name=axis,context-path=/axis)
tried to place a non-serializable attribute:
org.apache.axis.handlers.soap.SOAPService@cc0f9f into the session:
AzmMmO7z77OjfyjPFxQZASRm6no4FKnOsKrZCToUyDNAc2fsU3YX!1378039685!1089676876977.
This attribute will be lost upon redeployment. This message is logged only
once per session.>
Inspecting the soap monitor shows the following was instead submitted:
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<nsl:getVersion soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:nsl="http://DefaultNamespace"/>
</soapenv:Body>
</soapenv:Envelope>
with the following instead returned:
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<nsl:getVersionResponse soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:nsl="http://DefaultNamespace"/>
<nsl:getVersionReturn
xsi:type="xsd:string">RevString</nsl:getVersionReturn>
</nsl:getVersionResponse>
</soapenv:Body>
</soapenv:Envelope>