Results 1 to 3 of 3
- 08-11-2010, 02:46 AM #1
Member
- Join Date
- Aug 2010
- Posts
- 25
- Rep Power
- 0
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
- 08-12-2010, 01:04 AM #2
Member
- Join Date
- Aug 2010
- Posts
- 25
- Rep Power
- 0
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.
- 12-16-2010, 04:43 AM #3
Member
- Join Date
- Dec 2010
- Posts
- 1
- Rep Power
- 0
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
-
newbie question
By ronguilmet in forum New To JavaReplies: 2Last Post: 11-16-2009, 03:37 AM -
Issue while using the soap services using wsdl
By Kattoor in forum Advanced JavaReplies: 0Last Post: 10-13-2009, 11:14 AM -
Web Services: Axis vs Metro vs Spring Web Services
By davidbaker29 in forum Advanced JavaReplies: 0Last Post: 01-28-2009, 12:20 PM -
Real Newbie Question - I'm sure its dumb
By rulian in forum New To JavaReplies: 4Last Post: 12-11-2008, 05:07 PM -
Newbie question; Vectors
By Kern in forum New To JavaReplies: 7Last Post: 08-03-2008, 07:59 AM
Bookmarks