Ask a questionAsk a question
 

QuestionCalling WebService From Itinerary

  • Friday, October 30, 2009 2:14 PMshathishprabu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    I trying to call Web Service from Itinerary. The Web Service is invoked and I am also getting the response from the Web Service if it is without any parameters.
    But when I am calling Web Method with Parameter(which is of XMLDocument type, to receive the Itinerary Message) the Parameter value is always null, the Itinerary Message is not getting passed to the Web Method.

    Can someone please suggest how to proceed.

    Thanks.

All Replies

  • Wednesday, November 04, 2009 5:16 AMAndrew_ZhuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    Could you check whether the web service method works calling by other applications?

    Regards
    This posting is provided "AS IS" with no warranties, and confers no rights. Microsoft Online Community Support
  • Thursday, November 05, 2009 10:24 AMshathishprabu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Zhu,
              ya i've tried to call that service in my windows as well as web app its worked perfectly for me,
    but when i tried to call that through Itinerary only i'm getting null in input parameter,

  • Wednesday, November 11, 2009 4:58 AMBrendon BirdoesModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Pretty sure the issue is with the XmlDocument type.  Can you just have a single parameter as a string?  On the service side you can just read the string passed in to an XmlDocument or XPathDocument.

    Also another option is use the WcfTestClient on your service to view the actual xml sent.  Turn on message logging on the service and compare what you are seeing sent from the itinerary to what you see working from the WcfTestClient.  This might give you an idea why the XmlDocument route is not working.
    Brendon Birdoes, Neudesic
  • Wednesday, November 11, 2009 4:38 PMshathishprabu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Ya thanks, yes I tried to pass the "String" as a input parameter that time also i've got the null value in input parameter ,bren.
    I've tried to debug the service that time I'm able to see what coming as a input parameter to the service.

    Finally I tried to test that Canadian services of the ESB, for that also that input parameter is going as null,
    Is there anything I need to configure for that to pass paramter


    Thanks in Adanvance
    Shathishprabu