Re: SOAP Question

2001-07-31 Thread Ram Sadasiv
> Ranjit Goray wrote: > > SOAP Questions : > > > 1.How is SOAP different from the Ariba and Commerce One Standards of > cXML etc? > SOAP is an encoding and transport mechanism. The data payload could be cXML, or any other datatype which can be encoded as XML (there is also a spec for binary at

Re: Parsing error...

2001-07-31 Thread David Turner
But the weird thing about this is that there isn't any thing in the JAVA_HOME\jre\lib\ext directory. That's why I'm puzzled on this one. William Brogden wrote: > David Turner wrote: > > > > In RPCRouterServlet I checked the class of the document builder being returned > > by XMLParserUtils.ge

Re: Parsing error...

2001-07-31 Thread David Turner
Hi Scott, I tried getting the classpath used by the class loader via the code you recommended and it returned the following only: file:/a/franklin/fg/softdev/lib/soap-2_2/webapps/soap/WEB-INF/lib/soap.jar Scott Nichol wrote: > Have you determined the classpath in use by the class loader for

Security in soap2.2 (repost on req)

2001-07-31 Thread Bernd Koecke
Hi all, I have a security problem with apache-soap. To solve it, it would be nice, if the Provider-class for the ServiceManager methods(SMM) (deploy, undeploy and list) could be configured by the soapconfig file (soap.xml). The reason follows: If someone is allowed to access one service, he can

Can Microsoft SOAPTK client send attatchment to apache web service?

2001-07-31 Thread Ding, Chengmin
Hi, Soap pals, Has anyone tried to send attatchments from a VB client to an apache web service? Or are there any samples to do so? I don't have problem sending attatchment documents from Java client to apache web service. Thanks in advance. -Chengmin

Re: Parsing error...

2001-07-31 Thread Scott Nichol
Sorry, I see from some of the Tomcat source that getURLs is not delegated. Therefore, to get a picture of the full effictive classpath, you would need to do something like this: ClassLoader loader = Thread.currentThread().getContextClassLoader(); while (loader != null) { if (loade

RE: Parsing error...

2001-07-31 Thread Matthew J. Duftler
Hi David, Sorry for the low-tech suggestion, but have you tried just searching your entire drive for crimson.jar and/or parser.jar? If you find any, move them to another directory (simply renaming them may not be sufficient). Thanks, -Matt > - Original Message - > From: "David Turner" <

Schema help with Xerces

2001-07-31 Thread dswanson1
I'm using Xerces 1.4.2 and I have a question about Schema design etc...I'm sure this is a newbie question... I have a schema that validates an instance of an XML doc...what I don't understand is that if I remove the xsd: qualifiers and let the namespace be defaulted to the 2001/schema etc..it com

iplanet 4.1.7 with soap?

2001-07-31 Thread Jerome Destarac
hi soap addicts ! do you know if there are some problems with iplanet 4.1.7 (on solaris) and apache soap 2.2 ? thanks, jerome

Linkage error

2001-07-31 Thread Rahul Pathak
Hi, I am trying to use the call.invoke(url,"") ...thus i would get a response object from that.. but at this line i am getting a Linkage Error... raised java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Document class java.lang.LinkageError: loader constraints viol

Re: Parsing error...

2001-07-31 Thread Scott Nichol
David, I had time this morning to put together JDK 1.3.0_01, Tomcat 4.0 b6 and SOAP 2.2 on Win2k. Unfortunately, things work with that combo. I have to wait to try anything on Tru64 since my cable modem connection is out. After this adventure, though, I am curious about two things. First, hav

Re: Linkage error

2001-07-31 Thread Jared P Jurkiewicz
I think you've got a non-namespaced parser or older DOM definition in your classpath. Check what parsers and DOM defs you have. -- Jared "Rahul Pathak" <[EMAIL PROTECTED]> on 07/31/2001 01:31:38 PM Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: Linkage error Hi

Re: Parsing error...

2001-07-31 Thread David Turner
Hi Scott, My server classpath is as follows: CP=/fg/softdev/lib/xerces-1_4_1/xerces.jar:$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/servlet.jar: $CATALINA_HOME/bin/naming.jar:$JAVA_HOME/lib/tools.jar I haven't tried setting the JAVA_COMPILER yet. I'll try it now. Do you have jaxp.jar

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

2001-07-31 Thread Pete Roth
Thanks for your help Steve and Doug. This you guys have solved my problem I think, I'm about to try it. The real question I guess I was asking is in regards to line Doug suggested. myparser.parse((String)ret.getValue()); This String that you cast from the Object returned from getValue()

RE: Linkage error

2001-07-31 Thread Rahul Pathak
Hi, i am using the jaxp.jar from jaxp-1.1.zip and the soap.jar i am using which is in the ibm wstk...should i download soap-2.2 ??? thanx a lot, rahul -Original Message- From: Jared P Jurkiewicz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 1:45 PM To: [EMAIL PROTECTED] Subje

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

2001-07-31 Thread Pete Roth
When I tried to use the DOM parse to read the String returned from getValue it errors out. When I print the string out it is only the value of the "do_testResult", this is the one piece of data this test method returns (it adds two numbers). I have set up the deserializer (using StringDeserializ

RE: Document: SOAP 2.2 and VAJava/WebSphere

2001-07-31 Thread Cagatay Kavukcuoglu
It took me more effort to setup an Apache SOAP environment for 2.2 than it took for 2.0. You'll need the following: * Java Activation Framework 1.0.1 from java.sun.com * Java Mail 1.2 from java.sun.com * Apache Xerces 1.4.0 (works fine for me) You'll need a few more libraries if you want to have

Re: Parsing error...

2001-07-31 Thread David Turner
An update: It looks like I was able to get the server side working (I removed any jaxp.jar references; Note: tomcat installation also puts a crimson.jar file in tomcats/lib directory - it didn't on a windows/linux install), but there still is a problem. When I deployed my service the servlet did

Re: Parsing error...

2001-07-31 Thread Scott Nichol
I have jaxp.jar in my client classpath, but it is not in my server classpath. I don't understand how you are not getting a ClassNotFoundException related to JavaMail or Java Activation Framework. This is one of my earliest problems. As I said, I originally got a NullPointerException, then found

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: Parsing error...

2001-07-31 Thread David Turner
I'm downloading tomcat 4 b6 right now. I do believe there are some differences between b5 and b6. The directory structure is different to start with. Scott Nichol wrote: > I have jaxp.jar in my client classpath, but it is not in my server > classpath. > > I don't understand how you are not ge

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 Pete Roth
THANK YOU! Very much. This works. The entire XML that the server returns is stored in the xml variable with the code below. Peter Roth Telemetry Technologies Inc. p: 404.231.0021 ext. 1290 e: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Se

Re: Parsing error...

2001-07-31 Thread Scott Nichol
FYI, I added the following code to AddressBook#getAddressFromName try { FileWriter fw = new FileWriter("h:/code/javahack/classpath.txt"); PrintWriter pw = new PrintWriter(fw); ClassLoader loader = Thread.currentThread().getContextClassLoader(); while (loader != null) { if (loa

Re: Can Microsoft SOAPTK client send attatchment to apache web servic e?

2001-07-31 Thread Andrew Wu
Could any one tell me: For Jave service and Java client, we can use Java class to do serializer/deserializer for object type in both side. If we use VB Web service and Java client or Java service and VB client, how can we do serializer/deserializer for object type?  Hi CM, Could you please send yo

Re: iplanet 4.1.7 with soap?

2001-07-31 Thread Warwick Slade
I have got it working. But had problems with iplanet returning a cookie header Set-cookie which the soap class SOAPHTTPConnection ignored. - Original Message - From: "Jerome Destarac" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 2:21 AM Subject: iplanet 4.1

Re: Its urgent.....

2001-07-31 Thread Susheel Chauhan
hi..its running fine now.. Thanx for u'r full support.. Now provide me some other solutions. How can now i use the same java service with my MS Soap client. I have to send c++ class to this java service,string array and date class. I am sending my whole code as attachment. What step i have to fo