RE: Using Xerces to parse a SOAP response and using reflection to abstractly refer to a web service

2001-08-01 Thread Andrew Wu
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

RE: Using Xerces to parse a SOAP response

2001-08-01 Thread Andrew Sealy-Bell
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

RE: Using Xerces to parse a SOAP response

2001-07-31 Thread Pete Roth
]] 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

RE: Using Xerces to parse a SOAP response and using reflection to abstractly refer to a web service

2001-07-31 Thread dswanson1
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

RE: Using Xerces to parse a SOAP response

2001-07-31 Thread aclarkdc
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

RE: Using Xerces to parse a SOAP response and using reflection to abstractly refer to a web service

2001-07-31 Thread Pete Roth
} } } Peter Roth Telemetry Technologies Inc. p: 404.231.0021 ext. 1290 e: [EMAIL PROTECTED] -Original Message- From: Pete Roth [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: Using Xerces to parse a SOAP response and using reflection to abstractly refer to a web service

2001-07-31 Thread Pete Roth
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 &