File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes web service connection issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "web service connection issue" Watch "web service connection issue" New topic

web service connection issue

naga eswar
Ranch Hand

Joined: Jan 25, 2012
Posts: 122
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 ?
I agree. Here's the link:
subject: web service connection issue
jQuery in Action, 3rd edition