The diff between adb and xmlbeans for your code is small (as far is a can see)
I was just playing with it. Here is my code. The first one is adb the one in
comment is xmlbeans:
log.info("starting");
final Ifundsmw2_111Stub stub = new Ifundsmw2_111Stub();
Ifundsmw2_111Stub.OpenConnection2Mw2 req = new
Ifundsmw2_111Stub.OpenConnection2Mw2();
req.setCClientLogin("ABC");
req.setCClientPwd("ABC");
Ifundsmw2_111Stub.OpenConnection2Mw2Response result =
stub.openConnection2Mw2(req);
// OpenConnection2Mw2Document openConnection2Mw2Document =
OpenConnection2Mw2Document.Factory.newInstance();
// openConnection2Mw2Document.addNewOpenConnection2Mw2();
//
openConnection2Mw2Document.getOpenConnection2Mw2().setCClientLogin("XXXXXX");
//
openConnection2Mw2Document.getOpenConnection2Mw2().setCClientPwd("DDDDD");
// OpenConnection2Mw2ResponseDocument result =
stub.openConnection2Mw2(openConnection2Mw2Document);
// String result = result.getOpenConnection2Mw2Response().getResult();
log.debug(result);
-----Original Message-----
From: fire fox [mailto:[email protected]]
Sent: woensdag 13 april 2011 8:45
To: [email protected]; [email protected]
Subject: SOAP encoding for Axis2: Is XMLBeans the only solution?
Hi All,
When I tried to contact a web-service (SugarCRM) using Axis2, I
was getting following exception - Unsupported type
http://schemas.xmlsoap.org/soap/encoding/ Array.
After an exhaustive exploration, I came to know that the only solution
is to generate stubs using XMLBeans option, or step back to old -
Axis.
-> I'm just wondering whether that's the only solution or is there any
tricky setting?
-> I'm worried of it's effect on performance and complexity of implementation.
Reference :
http://thiamteck.blogspot.com/2008/12/axis2-wsdl2java-error-for-soap-encoding.html
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]