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
Does anyone know how to define SOAPHeaderElement type as String?
Thanks!
Anna
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);
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 =
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
Hi, could anyone tell me how to add Authentication, username, password, in
SOAP header in client?
Thanks
Anna
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
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
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)
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)
10 matches
Mail list logo