Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] SOAP::Lite server and .NET client

Expand Messages
  • Ahmad Hafiz Wahy
    .NET client and Soap::Lite server Both hello.cgi- (the server part) and the WSDL hope this help Technical Executive ... IntegritSistem (M) Sdn Bhd (467772-A)
    Message 1 of 4 , Apr 30, 2002
    • 0 Attachment
      .NET client and Soap::Lite server
       
      Both hello.cgi- (the server part) and the WSDL
       
      hope this help
       
      Technical Executive
      ---------------------------------------------------------------------
      IntegritSistem (M) Sdn Bhd (467772-A)
      3G, 7th Floor, Block 1, Worldwide Business Park,
      Jalan 13/50, Shah Alam, 40675 Selangor, Malaysia.
      Tel: +(60)-3-5513 5053, Fax: +(60)-3-5513 5052
      http://www.integritsistem.com, mailto:sales@...
      ---------------------------------------------------------------------
      ----- Original Message -----
      Sent: Wednesday, May 01, 2002 2:56 AM
      Subject: [soaplite] SOAP::Lite server and .NET client

      Does any have any sample code which tells how a .NET client talks to
      SOAP::Lite Server..What are steps needed to get this interoperability
      working..Any help would be help full



      To unsubscribe from this group, send an email to:
      soaplite-unsubscribe@yahoogroups.com



      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
    • Khamesra, SandeepX
      I have .NET Server , .NET client and SOAP::Lite server When I talked from .NET client to .NET server , I get the expected out put but when same .NET client
      Message 2 of 4 , May 1, 2002
      • 0 Attachment
        I have .NET Server , .NET client and SOAP::Lite server
        When I talked from .NET client to .NET server , I get the expected out put but when same .NET client talks to SOAP::Lite server though the wire dumplooks the same but client is not able to extract the data..
        Any help would be appreciated..
         
        Here is the wire dump of my result
         

        .NET Client and SOAP::Lite Server

        -----------------------------------------------------------------------------------------------------------------------------

        POST /cgi-bin/hello.cgi HTTP/1.1

        User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client

        Protocol 1.0.3705.0)

        Content-Type: text/xml; charset=utf-8

        SOAPAction: "urn:Hello/sayHello"

        Content-Length: 305

        Expect: 100-continue

        Connection: Keep-Alive

        Host: localhost

        <?xml version="1.0" encoding="utf-8"?><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><sayHello

        xmlns="urn:Hello"><name>Sandeep</name></sayHello></soap:Body></soap:Envelope>

         

        HTTP/1.1 200 OK

        Date: Thu, 02 May 2002 13:01:24 GMT

        Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_python/2.7.6 Python/1.5.2

        mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26

        mod_throttle/3.1.2

        SOAPServer: SOAP::Lite/Perl/0.55

        Content-Length: 533

        Connection: close

        Content-Type: text/xml; charset=utf-8

        <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope

        xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"

        SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

        xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

        xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"

        xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:sayHelloResponse

        xmlns:namesp1="urn:Hello"><sayHelloResult

        xsi:type="xsd:string">Sandeep</sayHelloResult></namesp1:sayHelloResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

        --------------------------------------------------------------------------------------------------------------------------------------

         

        .NET Client and .NET Server

        --------------------------------------------------------------------------------------------------------------------------------------

        POST /rms/HelloWorld.asmx HTTP/1.1

        User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client

        Protocol 1.0.3705.0)

        Content-Type: text/xml; charset=utf-8

        SOAPAction: "urn:Example1/sayHello"

        Content-Length: 308

        Expect: 100-continue

        Connection: Keep-Alive

        Host: localhost

        <?xml version="1.0" encoding="utf-8"?><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><sayHello

        xmlns="urn:Example1"><name>sandeep</name></sayHello></soap:Body></soap:Envelope>

        HTTP/1.1 100 Continue

        Server: Microsoft-IIS/5.0

        Date: Wed, 01 May 2002 21:46:49 GMT

        HTTP/1.1 200 OK

        Server: Microsoft-IIS/5.0

        Date: Wed, 01 May 2002 21:46:49 GMT

        Cache-Control: private, max-age=0

        Content-Type: text/xml; charset=utf-8

        Content-Length: 350

        <?xml version="1.0" encoding="utf-8"?><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><sayHelloResponse

        xmlns="urn:Example1"><sayHelloResult>Hello

        sandeep</sayHelloResult></sayHelloResponse></soap:Body></soap:Envelope>

         

        --------------------------------------------------------------------------------------------------------------------------

      • Khamesra, SandeepX
        You are correct..Actually I was using a wrong attribute for building envelop.. This I fig. out when I actully generated a proxy stub from the WSDL file Any way
        Message 3 of 4 , May 2, 2002
        • 0 Attachment
          You are correct..Actually I was using a wrong attribute for building
          envelop.. This I fig. out when I actully generated a proxy stub from the
          WSDL file

          Any way thx a lot for to all for help .



          -----Original Message-----
          From: Duncan Cameron [mailto:dcameron@...]
          Sent: Thursday, May 02, 2002 1:53 PM
          To: Khamesra, SandeepX
          Subject: Re: [soaplite] SOAP::Lite server and .NET client


          On 2002-05-01 Khamesra, SandeepX wrote:
          >I have .NET Server , .NET client and SOAP::Lite server
          >When I talked from .NET client to .NET server , I get the expected out put
          >but when same .NET client talks to SOAP::Lite server though the wire
          >dumplooks the same but client is not able to extract the data..

          The wire dumps are not the same - see below. It looks as if you need to
          ensure that
          all elements are in the correct namespace.. This is one of the things which
          the
          SOAP::LIte documentation poinst out.

          >..NET Client and SOAP::Lite Server
          .. snipped ...

          ><?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
          >
          >xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
          >
          >SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
          >
          >xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
          >
          >xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
          >
          >xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:sayHel
          l
          >oResponse
          >
          >xmlns:namesp1="urn:Hello"><sayHelloResult
          >
          >xsi:type="xsd:string">Sandeep</sayHelloResult></namesp1:sayHelloResponse></
          S
          >OAP-ENV:Body></SOAP-ENV:Envelope>
          >
          Here the <sayHelloResult> element is not in any namespace because it doesn't
          have a
          prefix and the default namespace has not been defined.


          >..NET Client and .NET Server

          .. snipped ...

          ><?xml version="1.0" encoding="utf-8"?><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><sayHelloResponse
          >
          >xmlns="urn:Example1"><sayHelloResult>Hello
          >
          >sandeep</sayHelloResult></sayHelloResponse></soap:Body></soap:Envelope>

          Here the <sayHelloResult> element is in the urn:Example1 namespace (because
          it doesn't
          have a prefix and the default namespace _has_ been defined)


          Regards,
          Duncan Cameron
        Your message has been successfully submitted and would be delivered to recipients shortly.