Can anybody give me one code sample for calling webservice which takes
complex type as input but "does not" use wsdl2java.
All the examples provided with axis which takes complex types
requires use of wsdl2java . I have a situation where i cannot
generate stubs in advance.
___
>You can use the WSDL2Java-Tool to generate a mapping class.
>Due to some limitations of the tool, it's not always possible but in
>many cases.
Well the way we are using axis is something like this.
User selects wsld url.
We parse the file and give user the option to selects
methods available.
I was going through the samples provided with Axis
/samples/userguide/example5
If i see Client.java
To send complex type what this code does is
Order order = new Order();
order.setCustomerName("Glen Daniels");
order.setShippingAddress("275 Grove Street, Newton, MA");
And then
call.registerT
I am creating a call using following method
Call call = (Call) service.createCall(new QName(_portName),new
QName(_methodNameSpace, _methodName));
And i am getting "javax.xml.rpc.ServiceException: Missing WSDL document"
error.
_portName is parameter got using
Map ports = service.getPorts();
My first mail somehow did not get posted.
So sending it again.
While trying to use following method
Call call = (Call) service.createCall(new QName(_portName),new
QName(_methodNameSpace, _methodName));
I am getting error
javax.xml.rpc.ServiceException: Missing WSDL document
_portName is re
Does axis have dependencies on Xerces-1.
My webservices were working fine with Xerces-1 . But once
i started using Xerces-2 and it has started giving me
NullPointerException without any userful message.
regards
_
Send and receive