intln("\nIOException, error processing XML.");e.printStackTrace();return;}catch(Exception e) {System.out.println("error incall creation.\n"+e.getMessage()+"\n");e.printStackTrace();return;}}}Peter RothTelemetry Te
The example from Apache below should help:
/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999, 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th
]]
Sent: Tuesday, July 31, 2001 3:48 PM
To: [EMAIL PROTECTED]
Subject: RE: Using Xerces to parse a SOAP response
Response resp = call.invoke( url, "");
String xml =
(String)((MimeBodyPart)resp.getBodyPart(0)).getContent();
This will get you the whole envelope as an XML string
which you
Peter,
thats why I asked you if your method returns a string as an XML
doc.specificly our web service returns an XML doc as a STRINGSOAP
only knows the return parameter as a STRINGThis allows me to do the
String returnvalue = ((String)ret.getValue());
Now return value contains th
Response resp = call.invoke( url, "");
String xml =
(String)((MimeBodyPart)resp.getBodyPart(0)).getContent();
This will get you the whole envelope as an XML string
which you can parse into a DOM and traverse as needed.
__
Do You Yahoo!?
Make intern
}
}
}
Peter Roth
Telemetry Technologies Inc.
p: 404.231.0021 ext. 1290
e: [EMAIL PROTECTED]
-Original Message-
From: Pete Roth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
st (E-mail); Soap-user list (E-mail)
Subject: Re: Using Xerces to parse a SOAP response
Peter,
You mentioned returning a String...is your string an xml doc?(if not
it could be...) you can do the following from receiving a Soap call if you
know that your method invoked returns a string such as &