IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  HTTP POST wsdl problem

    Posted Thu May 25, 2006 01:39 AM

    I am http posing a XML with content-type:“text/xml”; however, I cannot see the node object in service.

    I see an input named as “<?xml version”, value is the rest of the xml string.

    I use httpWebRequest to have straight http call from .net.

    Q1. After I add web reference via wsdl, I found the proxy file is just an empty name space, nothing else.
    Q2. Since the proxy is nothing there, I post XML by direct http call. I do not need wsdl, then, what is wsdl for?

    thanks for help.

    Shuren


    #soa
    #webMethods
    #API-Management


  • 2.  RE: HTTP POST wsdl problem

    Posted Thu May 25, 2006 04:28 AM

    wsdl (It used for webservice SOAP integrations).Since you do direct http post from external client you can ignore webservice/wsdl terms in your case.

    HTH,
    RMG


    #API-Management
    #soa
    #webMethods


  • 3.  RE: HTTP POST wsdl problem

    Posted Thu May 25, 2006 12:36 PM

    Shuren,
    Why not use a Web Service instead of a direct http call using an XML string :eek:. Since you are using .Net, this should be pretty straightforward for you. And it takes away the uglies of XML from the .Net side. Mark C. posted a sticky post to this forum on how to do it.

    It gives you a more standards based interface, .Net will abstact the XML away from you. And if you do it correctly a less brittle interface.


    #soa
    #webMethods
    #API-Management


  • 4.  RE: HTTP POST wsdl problem

    Posted Thu May 25, 2006 03:39 PM

    markg,

    you are right, I alrady make SOAP-RPC, SOAP-MSG work.
    I just try to see how HTTP POST works from .net client.

    the proxy created by HTTP POST wsdl is almost nothing.

    namespace wsTest1.httpPostAdd {

    [SIZE=2]}

    so, how I can use wsdl to HTTP post XML from .net? and why I cannot see the ‘node’ object when I RestorePipelinefromFile as document mentioned.

    Regards,

    Shuren
    [/size]


    #API-Management
    #webMethods
    #soa


  • 5.  RE: HTTP POST wsdl problem

    Posted Thu May 25, 2006 05:39 PM

    Shuren,

    If you did not create a WSDL to support an HTTP post port type, there won’t be anything for .Net to use to create an HTTP POST proxy.

    In general, the HTTP POST port type is not used very often in my experience neither in the wider web services space or in webMethods IS.

    Mark


    #API-Management
    #soa
    #webMethods


  • 6.  RE: HTTP POST wsdl problem

    Posted Thu May 25, 2006 07:10 PM

    Mark,

    what is your mean “if you did not create a WSDL to support an HTTP post port type”?

    I create WSDL from webMethods, and followed the steps in guide for creating HTTP POST wsdl.

    Thanks,

    Shuren


    #webMethods
    #API-Management
    #soa


  • 7.  RE: HTTP POST wsdl problem

    Posted Thu May 25, 2006 07:17 PM

    Maybe you should post your question on a .Net support forum.


    #API-Management
    #soa
    #webMethods