bulldog2011 / nano

A light Android web serivce client framework
Apache License 2.0
33 stars 30 forks source link

JAXBElement<String> #9

Closed marckaraujo closed 11 years ago

marckaraujo commented 11 years ago

I generated the wsdl: http://www.semhora.com/Payment.wsdl with mwsc. And all elements come with this JAXBElement, but it isnt supported in Android.

What I need to do?

Thanks

bulldog2011 commented 11 years ago

Hi,

Looks like the same issue in pico, please try mwsc custom binding to resolve, https://github.com/bulldog2011/pico/issues/2

Thx! -William

marckaraujo commented 11 years ago

Thanks! Now it works.

One more question, my wsdl needs to be authenticated with name and password, but I can't find the way to do it. Could you help me? I will be very thankfully with your help.

bulldog2011 commented 11 years ago

Hi,

What do you mean by "my wsdl needs to be authenticated with name and password"?

Thx! -William

marckaraujo commented 11 years ago

I solved, I just used:

soap.getAsyncHttpClient().setBasicAuth("username", "password");

Thanks!! you made a really good job.