problems with soapclient30

Discussion in 'ASP General' started by bajopalabra, Oct 28, 2005.

  1. bajopalabra

    bajopalabra Guest

    hi
    this code bellow get data from a web service (tradicional asp)
    but result is not parsed into XML ...
    that is, JUST get "cat4"
    instead of "<animal><name>cat</name><legs>4</legs></animal>

    set osoap= Server.CreateObject("MSSOAP.SoapClient30")
    osoap.ClientProperty("ServerHTTPRequest") = true
    osoap.mssoapinit("http://x.x.x.x:8080/services/myservice?wsdl")


    IT IS WORKING, for example, instancing soap
    from VISUAL FOXPRO ...

    are anybody experiencing similar problems ???
    this worked....
    could it be related to lasts windows updates ?

    thanks

    --
    atte, Hernán
     
    bajopalabra, Oct 28, 2005
    #1
    1. Advertising

  2. bajopalabra

    bajopalabra Guest

    solution

    i want to share whith us "my" solution

    dim osoap, oxml, txt
    set osoap= Server.CreateObject("MSSOAP.SoapClient30")
    set oxml= Server.CreateObject("MSXML.DomDocument")

    osoap.ClientProperty("ServerHTTPRequest") = true
    osoap.mssoapinit("http://x.x.x.x:8080/services/myService?wsdl")
    oxml.loadxml( osoap.getMyData("myID") )
    txt= oxml.getElementsByTagName("user/data").item(0).text

    set oxml= nothing
    set osoap= nothing

    --
    atte, Hernán

    "bajopalabra" <> escribió en el mensaje
    news:...
    > hi
    > this code bellow get data from a web service (tradicional asp)
    > but result is not parsed into XML ...
    > that is, JUST get "cat4"
    > instead of "<animal><name>cat</name><legs>4</legs></animal>
    >
    > set osoap= Server.CreateObject("MSSOAP.SoapClient30")
    > osoap.ClientProperty("ServerHTTPRequest") = true
    > osoap.mssoapinit("http://x.x.x.x:8080/services/myservice?wsdl")
    >
    >
    > IT IS WORKING, for example, instancing soap
    > from VISUAL FOXPRO ...
    >
    > are anybody experiencing similar problems ???
    > this worked....
    > could it be related to lasts windows updates ?
    >
    > thanks
    >
    > --
    > atte, Hernán
    >
    >
     
    bajopalabra, Oct 28, 2005
    #2
    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. Susan Baker
    Replies:
    2
    Views:
    826
    kelvSYC
    Jun 26, 2005
  2. Shelly

    Problems, problems for newbie

    Shelly, Sep 2, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    2,213
    Shelly
    Sep 3, 2007
  3. Doug

    MSSOAPLib30.SoapClient30 scalability problem

    Doug, Dec 13, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    415
  4. Doug

    MSSOAPLib30.SoapClient30 scalability issues

    Doug, Dec 14, 2006, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    251
  5. Different ways of using SoapClient30 problem

    , Feb 24, 2008, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    459
Loading...

Share This Page