Controlling namespace prefixes in SAAJ

2003-02-17 Thread Jack Byrne
Hello, My sample code below is producing the following XML http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://mydomain.com/header1"/> http://mydomain.com/header2";> http://mydomain.com/ch

Controlling namespace prefixes in SAAJ

2003-02-17 Thread Jack Byrne
Hello, My sample code below is producing the following XML http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://mydomain.com/header1"/> http://mydomain.com/header2";> http://mydomain.com/ch

Specifying POST or GET in SOAP Requests when using SAAJ....

2003-01-17 Thread Jack Byrne
Hello, I am using SAAJ for creating my SOAP requests. How can I specify that POST is used instead of GET in my SOAP Request. My Application is running on Linux. The basis of my Application is: SOAPConnection con = scFactory.createConnection(); MessageFactory factory = MessageFactory.newInstanc

Re: Tomcat 3.2 / Tomcat 4.1

2003-01-15 Thread Jack Byrne
Hello, I have installed SOAP on Apache Tomcat 4.0. Here is what I did Downloading, installing and testing Tomcat 4.0 Downloading Tomcat Go to  www.apache.org, select Jakarta in the Apache Projects list, select Binary Downloads, select Tomcat 4.0.6 from the Main Distr

SOAP Proxy Error

2003-01-13 Thread Jack Byrne
Hello, I am trying to send a SOAP Message to a HTTP Web Server and I am getting the following error javax.xml.soap.SOAPException: (502)Proxy Error at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:99) What are the reasons for this and how can I diagnose it? Regard

SAAJ: Omitting namespace prefixes...

2003-01-10 Thread Jack Byrne
Hello, How do I omit a namespae prefix when creating an XML element. If I perform something like Name bodyName = envelope.createName("GetLastTradePrice", "m", "http://wombats.ztrade.com"); Name name = envelope.createName("symbol"); SOAPElement symbol = gltp.addChildElement(name); symbol.addT

Re: Using SOAP + HTTP as a client within tomcat.

2003-01-06 Thread Jack Byrne
Hello, I had the same problem in connecting a SOAP Client (over SSL) to a SOAP (Tomcat/Axis) Server.  I created my Client using JDK 1.4 (which has SSL packaged). Here are some notes I wrote up about the subject. Let me know if it helps Configuring SOAP SSL Secure Socket Layer (SSL) i

Cannot find trusted certificate when using SOAP/HTTPS

2003-01-02 Thread Jack Byrne
Hello, I am trying to access an external site using SOAP and HTTPS. I am getting the following exception: As I am trying to access a Remote Server, do I need its certificate (I presume Public Key) to access the remote site. I have written a SOAP Client (using the autogenerated bindings from W

Re: SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported responsecontent type

2002-12-20 Thread Jack Byrne
what's happening at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.jav a:418) Scott Nichol - Original Message - From: "Jack Byrne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 12:05 PM Subject: SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu

SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported responsecontent type

2002-12-19 Thread Jack Byrne
Hello, I have registered my SOAP Service and checked with SOAP Admin using http://localhost:8080/soap/admin/index.html. My service is listed under urn:Example1. I have checked the message Router using http://localhost:8080/soap/servlet/messagerouter and it replies SOAP Message Router Sorry,