• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

web service connection issue

 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic