Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAPMessage Frights

 
graham king
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me if this should point somewheres else?


returns:


:stressed:
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
  • Its highly unlikely that the endpoint is at http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL - that is the URI to the WSDL that describes the endpoint. The actual endpoint could be http://cwcdev.corporate.act.org/schedule. However the endpoint's URI can be found inside the port soap binding inside the service definition of the WSDL.
  • It would be a lot easier to diagnose the problem if you posted the contents of the ALMVTC.WSDL file. That basically describes what the request and response should look like.
  • It would also help if you intercepted a successful request/response pair (from the VB Script you posted) with Apache TCPMon and posted the contents here - this is necessary in case the WSDL doesn't tell the whole story and some XML gets stuffed in a "string".

  •  
    graham king
    Ranch Hand
    Posts: 133
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
     
    graham king
    Ranch Hand
    Posts: 133
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    This call works:


    This call doesn't:
     
    graham king
    Ranch Hand
    Posts: 133
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    This is from my web server.log.
     
    Peer Reynders
    Bartender
    Posts: 2968
    6
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator


    XML is case-sensitive. The WSDL specified "getVersion", not "GetVersion".

    At the risk of repeating myself - it is usually far more productive to look at the raw HTTP/SOAP request/responses captured with TCPMon (Tutorial) than looking at gyrations of Java code and Stack traces.
     
    graham king
    Ranch Hand
    Posts: 133
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks Peer for all your help.

    I set it aside for awhile because I was about to pull my hair out. Having come back to it I was able to get the calls to work.

    Here's the basic setup:


    And walla, it works!

    Thanks again!!!
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic