Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

how to request service with complexType

$
0
0

I implement service with Flex like:

 

 

 

 

 

 

 

 

 

 

 

<mx:WebService

 

 

wsdl="http://idme.identita.com:8080/andromeda/service/ws?wsdl" id="testService" showBusyCursor="true

"

useProxy="

 

false">

 

 

<mx:operation name="process" result="resultHanlder(event);">

 

 

<mx:request>

 

 

<TokenDisplayAuthenticationRequest>

 

 

<otp> {otp.text}

</otp>

 

 

<serialNumber> {serial.text}

</serialNumber>

 

 

</TokenDisplayAuthenticationRequest>

 

 

</mx:request>

 

 

</mx:operation>

 

 

</mx:WebService>

 

Our web service only one operation "process", but there are a lot of request & response. But it did not work, can some help me to check what problem in this code?

 

Thanks,

 

Java code with CXF like:

 

private static final QName SERVICE_NAME = new QName("http://www.identita.com/andromeda/services", "AndromedaService");
private static final String WEB_URL="http://idme.identita.com:8080/andromeda/service/ws?wsdl" ;

 

AndromedaService ss = new AndromedaService(wsdlURL, SERVICE_NAME);

Andromeda port = ss.getAndromedaPort();

TokenDisplayAuthenticationRequest authenticationRequest = new TokenDisplayAuthenticationRequest();

authenticationRequest.setSerialNumber(serial);
  authenticationRequest.setOtp(otp);
   TokenDisplayAuthenticationResponse _process__return = (TokenDisplayAuthenticationResponse)port.process(authenticationRequest);

 

 

 


Viewing all articles
Browse latest Browse all 58696

Trending Articles