File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes SOAPMessage Frights Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAPMessage Frights" Watch "SOAPMessage Frights" New topic
Author

SOAPMessage Frights

graham king
Ranch Hand

Joined: Dec 30, 2004
Posts: 133
Can anyone tell me if this should point somewheres else?


returns:


:stressed:


write, revise, re-write, revise, again...<br />write, revise, re-write, revise, again...
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
  • 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

    Joined: Dec 30, 2004
    Posts: 133
    graham king
    Ranch Hand

    Joined: Dec 30, 2004
    Posts: 133
    This call works:


    This call doesn't:
    graham king
    Ranch Hand

    Joined: Dec 30, 2004
    Posts: 133
    This is from my web server.log.
    Peer Reynders
    Bartender

    Joined: Aug 19, 2005
    Posts: 2922
        
        5


    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

    Joined: Dec 30, 2004
    Posts: 133
    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!!!
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: SOAPMessage Frights