RE: SOAPHeaderElement.addTextNode() ???

2002-06-07 Thread Anna Chen
But the service written in .NET can't recognize my username and password??? The SOAPEnvelope I sent: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> username password

SOAPHeaderElement type?

2002-06-07 Thread Anna Chen
Does anyone know how to define SOAPHeaderElement type as String? Thanks! Anna

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Anna Chen
Ok, here is my actual code: javax.xml.rpc.namespace.QName p0QName = new javax.xml.rpc.namespace.QName("controtex.com", "code1");     call.addParameter(p0QName, new javax.xml.rpc.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, javax.xml.rpc.ParameterMode.IN);

Re: Retrieving data from a SOAP packet

2002-06-06 Thread Anna Chen
Maybe you could try to use: RPCElement[] input = new RPCElement[1];     RPCParam arg1 = new RPCParam("XXXnamespace", "XXXparameter name", (Object)parameter value));     input[0] = new RPCElement("XXXnamespace", "XXXmethod name", new Object[]{arg1});     Vector  elems =

Invalid element - schema

2002-06-05 Thread Anna Chen
Anyone knows how to resolve this problem? Thanks Anna The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST /zipQuery/zipCodeService.asmx/findZipCordinates HTTP/1.1 Host: www.discoverdance.co.uk Content-Type: application/x-ww

Soap header, Authentication

2002-06-04 Thread Anna Chen
Hi, could anyone tell me how to add Authentication, username, password, in SOAP header in client? Thanks Anna

Error of call.invoke()

2002-05-29 Thread Anna Chen
What causes this error? Server was unable to process request. --> Object reference not set to an instance of an object. at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134) at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deserial

Re: Error of WSDL2Java

2002-05-29 Thread Anna Chen
support it, it assumes you will define it.  Since you don't, it says it's not defined. JAX-RPC, the mapping spec we follow, doesn't provide a mapping from xsd:schema to Java.  Does anyone have suggestions as to how this should be mapped to Java? Russell Butek [EMAIL PROTECTED] Anna Ch

Error of WSDL2Java

2002-05-29 Thread Anna Chen
When I tried to convert http://www.discoverdance.co.uk/zipQuery/zipCodeService.asmx?WSDL to Java I got error: java.io.IOException: Type http://www.w3.org/2001/XMLSchema:schema is referenced but not defined. at org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(SymbolTable.java:405)

Method not allowed error

2002-05-24 Thread Anna Chen
Any one know what cause Method not allowed error? at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)