Consume ASP.NET Webservice from PHP Pearl (Namespace issue)

Discussion in 'ASP .Net Web Services' started by Remy, Mar 22, 2007.

  1. Remy

    Remy Guest

    We have an ASP.NET Webservice that our client would like to access
    from PHP (with the PEARL toolkit).
    Making requests works fine and for functions that only have a return
    value (no parameters) everything is good.
    But as soon as they try to pass some parameters, they are not
    received. Problem seems to be the namespace.
    ASP expects this (according to the Testsite:
    <soap:Body>
    <EchoDateTime xmlns="http://www.supertext.ch/webservices/">
    <echo>2007-03-21T09:46:52.0427284-04:00</echo>
    </EchoDateTime>
    </soap:Body>

    What I get is this:
    <SOAP-ENV:Body>
    <ns4:EchoInteger>
    <echo>1</echo>
    </ns4:EchoInteger>
    </SOAP-ENV:Body>
    And this does not work.

    When I manually add ns4 to the echo parameter it works:
    <SOAP-ENV:Body>
    <ns4:EchoInteger>
    <ns4:echo>1</ns4:echo>
    </ns4:EchoInteger>
    </SOAP-ENV:Body>

    Anyway to make ASP understand the 2nd version or any other hints?

    Thanks

    Remy
     
    Remy, Mar 22, 2007
    #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. Paul Hermans

    Consume php webservice in asp.net

    Paul Hermans, Jun 10, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    935
    bruce barker
    Jun 10, 2004
  2. Rajive Narain
    Replies:
    0
    Views:
    1,904
    Rajive Narain
    Sep 18, 2009
  3. Paul Hermans

    Consume php webservice in dotnet environment

    Paul Hermans, Jun 10, 2004, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    245
    Paul Hermans
    Jun 10, 2004
  4. Hemant

    .net WS &j2ee,php, pearl client

    Hemant, Dec 19, 2003, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    125
    Paolo Pialorsi [DevLeap]
    Dec 26, 2003
  5. dgleeson422111

    consume local web service -ok consume remote service - Not OK

    dgleeson422111, Jan 26, 2010, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    1,614
    dgleeson422111
    Jan 31, 2010
Loading...

Share This Page