[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6702) [tester] Soap12 sample content should be generated for Soap12 port

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Mon Jul 26 14:00:34 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12541026#action_12541026 ] 

Brian Fitzpatrick commented on JBIDE-6702:
------------------------------------------

Ok, I'm now able to produce this:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
<soap12:Body>
<GetWeatherReport xmlns = "http://www.webserviceX.NET">
<ZipCode>80920</ZipCode>
</GetWeatherReport>
</soap12:Body>
</soap12:Envelope>

But I get this message:

java.lang.Exception: javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: InputStream does not represent a valid SOAP 1.1 Message

> [tester] Soap12 sample content should be generated for Soap12 port
> ------------------------------------------------------------------
>
>                 Key: JBIDE-6702
>                 URL: https://jira.jboss.org/browse/JBIDE-6702
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.2.0.M2
>            Reporter: Lukas Jungmann
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.2.x
>
>
> -load http://www.webservicex.net/usweather.asmx?WSDL in the tester  and choose Soap12 port
> => generated sample message is:
> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
> <soap:Body>
> <GetWeatherReport xmlns = "http://www.webserviceX.NET">
> <ZipCode>?</ZipCode>
> </GetWeatherReport>
> </soap:Body>
> </soap:Envelope>
> but should be:
> <?xml version="1.0" encoding="utf-8"?>
> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
>   <soap12:Body>
>     <GetWeatherReport xmlns="http://www.webserviceX.NET">
>       <ZipCode>94043</ZipCode>
>     </GetWeatherReport>
>   </soap12:Body>
> </soap12:Envelope>

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

        


More information about the jbosstools-issues mailing list