You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Chris Wall (JIRA)" <tu...@ws.apache.org> on 2006/08/18 21:07:19 UTC

[jira] Created: (TUSCANY-646) binding.ws (xmlbeans) sending empty soap message

binding.ws (xmlbeans) sending empty soap message
------------------------------------------------

                 Key: TUSCANY-646
                 URL: http://issues.apache.org/jira/browse/TUSCANY-646
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding
         Environment: Client deployed as webapp on Tomcat  5.5.17 calling WebLogic Web Service hosted on WLS 9.1.
            Reporter: Chris Wall
         Attachments: default.scdl, MedRecWebServices.wsdl, web.xml

My web service is receiving empty soap requests from my Tuscany web service client.  See messages below.


  Soap request sent via Axis2 generated (Wsdl2Java) classes:

  ** S T A R T   R E Q U E S T **
  POST /ws_medrec/MedRecWebServices
  SOAPAction: urn:getString
  User-Agent: Axis2
  Host: localhost:7001
  Transfer-Encoding: chunked
  Content-Type: text/xml; charset=UTF-8
  <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapen
  v:Header /><soapenv:Body><getString xmlns="http://www.bea.com/medrec"><str>hello</str></getString></soapenv:Body></soapen
  v:Envelope>
  ** E N D   R E Q U E S T **


  Soap request sent via binding.ws:

  ** S T A R T   R E Q U E S T **
  POST /ws_medrec/MedRecWebServices
  SOAPAction: ""
  User-Agent: Axis2
  Host: localhost:7001
  Content-Length: 167
  Content-Type: text/xml; charset=UTF-8
  <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapen
  v:Header /><soapenv:Body /></soapenv:Envelope>
  ** E N D   R E Q U E S T **


-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-646) binding.ws (xmlbeans) sending empty soap message

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-646?page=all ]

Raymond Feng resolved TUSCANY-646.
----------------------------------

    Resolution: Invalid
      Assignee: Raymond Feng

Hi,

It is a problem in the application code. The getString operation requires that you pass in a string but it was not the case by reading the client code.

Bascially the java interface MedRecWebServicesService has an imcompatible getString method against the getString operation defined in the WSDL which requires some input parameters. You should try to change the method signature to getString(String str).

Thanks,
Raymond


> binding.ws (xmlbeans) sending empty soap message
> ------------------------------------------------
>
>                 Key: TUSCANY-646
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-646
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding
>         Environment: Client deployed as webapp on Tomcat  5.5.17 calling WebLogic Web Service hosted on WLS 9.1.
>            Reporter: Chris Wall
>         Assigned To: Raymond Feng
>         Attachments: client-src.zip, default.scdl, MedRecWebServices.wsdl, web.xml
>
>
> My web service is receiving empty soap requests from my Tuscany web service client.  See messages below.
>   Soap request sent via Axis2 generated (Wsdl2Java) classes:
>   ** S T A R T   R E Q U E S T **
>   POST /ws_medrec/MedRecWebServices
>   SOAPAction: urn:getString
>   User-Agent: Axis2
>   Host: localhost:7001
>   Transfer-Encoding: chunked
>   Content-Type: text/xml; charset=UTF-8
>   <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapen
>   v:Header /><soapenv:Body><getString xmlns="http://www.bea.com/medrec"><str>hello</str></getString></soapenv:Body></soapen
>   v:Envelope>
>   ** E N D   R E Q U E S T **
>   Soap request sent via binding.ws:
>   ** S T A R T   R E Q U E S T **
>   POST /ws_medrec/MedRecWebServices
>   SOAPAction: ""
>   User-Agent: Axis2
>   Host: localhost:7001
>   Content-Length: 167
>   Content-Type: text/xml; charset=UTF-8
>   <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapen
>   v:Header /><soapenv:Body /></soapenv:Envelope>
>   ** E N D   R E Q U E S T **

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-646) binding.ws (xmlbeans) sending empty soap message

Posted by "Chris Wall (JIRA)" <tu...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/TUSCANY-646?page=all ]

Chris Wall updated TUSCANY-646:
-------------------------------

    Attachment: client-src.zip

> binding.ws (xmlbeans) sending empty soap message
> ------------------------------------------------
>
>                 Key: TUSCANY-646
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-646
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding
>         Environment: Client deployed as webapp on Tomcat  5.5.17 calling WebLogic Web Service hosted on WLS 9.1.
>            Reporter: Chris Wall
>         Attachments: client-src.zip, default.scdl, MedRecWebServices.wsdl, web.xml
>
>
> My web service is receiving empty soap requests from my Tuscany web service client.  See messages below.
>   Soap request sent via Axis2 generated (Wsdl2Java) classes:
>   ** S T A R T   R E Q U E S T **
>   POST /ws_medrec/MedRecWebServices
>   SOAPAction: urn:getString
>   User-Agent: Axis2
>   Host: localhost:7001
>   Transfer-Encoding: chunked
>   Content-Type: text/xml; charset=UTF-8
>   <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapen
>   v:Header /><soapenv:Body><getString xmlns="http://www.bea.com/medrec"><str>hello</str></getString></soapenv:Body></soapen
>   v:Envelope>
>   ** E N D   R E Q U E S T **
>   Soap request sent via binding.ws:
>   ** S T A R T   R E Q U E S T **
>   POST /ws_medrec/MedRecWebServices
>   SOAPAction: ""
>   User-Agent: Axis2
>   Host: localhost:7001
>   Content-Length: 167
>   Content-Type: text/xml; charset=UTF-8
>   <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapen
>   v:Header /><soapenv:Body /></soapenv:Envelope>
>   ** E N D   R E Q U E S T **

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org