Results 1 to 3 of 3
  1. #1
    colpwd is offline Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0

    Default Web Services + WSDLs, SOAP and AXIS + Newbie Question

    Hi everyone, hows it going?

    I am quite new to web services and XML and i was hoping i could get some assistance.

    I am creating some server-side skeleton code to test against and i am trying to match XML response-code to some samples i have.

    I have Axis 1.4 deployed on Tomcat 5.5 and i have a WSDL which i have developed into Java skeleton using WSDL2Java.
    I have then deployed to Tomcat using the generated deploy.wsdd file.

    This is an example of what i am trying to achieve from a response,

    <soapenv:Envelope...
    <soapenv:Body>
    <ns1...
    <... href="#id0"/>
    <...href="#id1"/>
    </ns1...>
    <multiRef id0...
    <... variables
    <...
    <...
    </multiRef>
    <multiRef id1 ....
    <... variables
    <...
    <...
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>

    I am geting very close to this, except on of the variables in id1 is defined as another multiref tag, like follows.

    <soapenv:Envelope...
    <soapenv:Body>
    <ns1...
    <... href="#id0"/>
    <...href="#id1"/>
    </ns1...>
    <multiRef id0...
    <... variables
    <...
    <...
    </multiRef>
    <multiRef id1 ....
    <... variables
    <...
    <... test href="#id2"
    </multiRef>
    <multiRef id="id2".... </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>

    I was hoping to get some feedback as to how i can "edit the xml response".

    Has anyone else ocme across this issue when using Axis and trying to match an XML response?

    Thanks a lot!
    colpwd

  2. #2
    colpwd is offline Member
    Join Date
    Aug 2010
    Posts
    25
    Rep Power
    0

    Default

    Ok, i have done some deeper research and it seems as though the SOAP response message can be formatted, although the examples i saw were different to what i am doing here, so im still not entirely sure how.

    Possibly altering the the client request message?

    I have samples of both request and response. If i use the exact format of a client request SOAP message and paste this into soapUI, the response is still slightly different as i mentioned earlier.

    Do i need to alter the WSDL and how its messages bind to the SOAP protocol? I i dont see how that would change the format of the response.

    Thanks for reading.

  3. #3
    ahuti.datwa is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default exception: java.net.ConnectException: Connection timed out:connect while consuming WS

    Hi,

    I am trying to consume the following web service by generating a client in Eclipse Helios.
    default

    when i try to invoke it gives me a the following exception.
    exception: java.net.ConnectException: Connection timed out: connect

    I have tried several things from google but none of them seem to respond. i can nopt even route the request through tcptrace.
    Can anyone help???

Similar Threads

  1. newbie question
    By ronguilmet in forum New To Java
    Replies: 2
    Last Post: 11-16-2009, 03:37 AM
  2. Issue while using the soap services using wsdl
    By Kattoor in forum Advanced Java
    Replies: 0
    Last Post: 10-13-2009, 11:14 AM
  3. Web Services: Axis vs Metro vs Spring Web Services
    By davidbaker29 in forum Advanced Java
    Replies: 0
    Last Post: 01-28-2009, 12:20 PM
  4. Real Newbie Question - I'm sure its dumb
    By rulian in forum New To Java
    Replies: 4
    Last Post: 12-11-2008, 05:07 PM
  5. Newbie question; Vectors
    By Kern in forum New To Java
    Replies: 7
    Last Post: 08-03-2008, 07:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •