[ 
http://issues.apache.org/jira/browse/AXIS-2551?page=comments#action_12431005 ] 
            
Bjorn Townsend commented on AXIS-2551:
--------------------------------------

Can you post your WSDD and webservice code? Thanks.

> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, 
> which is NOT expected, in something it was trying to deserialize.
> -------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS-2551
>                 URL: http://issues.apache.org/jira/browse/AXIS-2551
>             Project: Apache Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.3
>         Environment: Windows 
>            Reporter: Karthikeyan
>
> Hi All,
> I am running Tomcat Sever version 5.5 and Axis 1.3, and I am trying to deploy 
> a WSDD 
> file. However, when I execute the AdminClient command it gets successfully 
> deployed.
> My Soap client is a html which sends the Soap request to my service.
> My Webservice has got a method which returns a string as response.
> It works fine if I am passing a string. But fails if my service accepts 
> string content within xml tags.
> For Eg,
> If my soap request is similar to the one below it works fine
> <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><test 
> xmlns="urn:WithoutTag"><sObjects>testvalue</sObjects></test></soapenv:Body></soapenv:Envelope>
> But if my request is like below
> <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><test 
> xmlns="urn:WithoutTag"><sObjects<sampletag>testvalue</sampletag></sObjects></test></soapenv:Body></soapenv:Envelope>
> I get an error message stating that 
> org.xml.sax.SAXException: SimpleDeserializer encountered a child element, 
> which is NOT expected, in something it was trying to deserialize.
> The problem might be when trying to parse the xml tag inside <sObjects>
> Can someone help me?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to