Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

web service connection issue  RSS feed

Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am a beginner working with Web Services.
Web Service was created/developed by other team. We need to connect that web service(developed by .net).
we got WSDL and created WSDL client through eclipse.
I have 2 issues while connecting to the web service.
one is that, request class has below construtor

The first argument of above constructor " com.cordys.schemas.aviva.receipt.RequestReceipt " is a class has constructor as below

In the above constructor , third argument "RequestReceiptCashReceiptListCashReceipt[]" is in array form
but the constructor of class RequestReceiptCashReceiptListCashReceipt is as below

So how to pass values to RequestReceiptCashReceiptListCashReceipt[].

second one is that at line of code "String val=stub.createReceipt(req).getStatus();"
we are getting error as "Service Group Lookup failure"

Can anybody help ?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!