parameter missing - calling .net from axis client

Discussion in 'ASP .Net Web Services' started by tom, Sep 28, 2003.

  1. tom

    tom Guest

    hello,

    i'm calling a .net service from an axis client and the parameter i
    pass in doesn't get picked up by the .net webservice.

    (i have tried setting the SOAPAction on the axis client and i have
    also tried removing the SOAPAction in the .net webservice with the
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute("")]
    option)

    this is what i can see on the line going to the .net service machine:
    ----------------------------------------------
    POST /BCAService/BCAService.asmx?op=processRequest HTTP/1.0
    Content-Type: text/xml; charset=utf-8
    Accept: application/soap+xml, application/dime, multipart/related,
    text/*
    User-Agent: Axis/1.0
    Host: ws01
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: ""
    Content-Length: 456

    <?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>
    <ns1:processRequest
    soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="BCAService">
    <ns1:arg1 xsi:type="xsd:string">aabbcc</ns1:arg1>
    </ns1:processRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    ----------------------------------------------

    so arg1 gets send but the c# webservice only picks up null.

    any idea's ?

    best regards,
    tom
    tom, Sep 28, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joey Vendetta
    Replies:
    0
    Views:
    3,446
    Joey Vendetta
    Apr 1, 2004
  2. Christian Wilhelm

    Calling Axis WebService out of .net Client

    Christian Wilhelm, Dec 16, 2004, in forum: Java
    Replies:
    0
    Views:
    847
    Christian Wilhelm
    Dec 16, 2004
  3. Replies:
    0
    Views:
    913
  4. hocho888
    Replies:
    1
    Views:
    619
  5. Replies:
    0
    Views:
    1,048
Loading...

Share This Page