• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

How to do ???

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I need your help.

So, I must create client to call several webservices.
All services have 1 method with 1 string argument and return String.

But all this webservices are on different adresses and with different names.

Until now I'm used JAX-WS to create simple client, but in this case it can't be done.

Please give me idea how to do this???


Regards.
 
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Until now I'm used JAX-WS to create simple client, but in this case it can't be done.


Why not?
 
Krasimir Goutcev
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My be i'm wrong bit when i say JAX-WS client i mean:

wsimport .....


This command will create client from WSDL.

When i try to use this client i get: ....Undefined port type:...


 
Tim Moores
Bartender
Posts: 7645
178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check the documentation of whatever SOAP stack you're using - it should have a full example of how to create client code, including how to use wsimport. Without seeing the details of what you're doing (like the full command line, and the WSDL) I don't think there's much we can do to help.
 
Krasimir Goutcev
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question is simple.
How to create clietn who can consume this 2 wsdl
------------- 1 -----------------

----------2 ---------
 
Ranch Hand
Posts: 35
Eclipse IDE Firefox Browser Windows XP
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There various tools available in market which will automate the client creation from WSDL.
You can use RAD, or Eclipse to generate client from WSDL.
 
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic