Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

How to generate a simple java proxy client for a .NET webservice using RAD7?

 
Ranch Hand
Posts: 624
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So far I'm stumped.

I've tried using the New>>WebService>>WebServiceClient wizard - and pointing it at the WSDL (http://www.myserviceprovider/service/thingstodo.asmx?WSDL) and it does find the WSDL ok (thats a good thing presumably?)

But the next step has me infuriated. It deosnt seem to want to allow to generate a simple Java Application - or a Utility Project for theclient -= it wasnt me to create a whole web project and EAR file.... not ideal - but I'd settle for that (I'm just trying to right some test stuff at the moment).
Unfortunately attempts to do that after selecting a WAS6.1 runtime and JAX-RPC webservice runtime (I dont really undertsnad what this means) result in an error:

Unable to add the follwing facets to project WebServiceProject: Dynamic Web Module, Java.

<--love the misspelt error message!

Now I can see lots of links to stuff talking about how to publish webservices - but very few about how to create simple WS consumers.

I did this before about 4 years ago (WSAD 4? days)- and the old client is working within the context of our web application - but with errors. I just want to recreate a new one and test the WS part of the code - but it seems to be almost impossible.

THis document: http://www.ibm.com/developerworks/websphere/library/techarticles/0803_yee/0803_yee.html talks about importing definitions into a service registry - but as far as I can tell I dont have a service registry. Does this mean I can no longer do WebService development for Websphere using RAD? DO I need to concede defeat to the .NET boys at the other end and tell them that clearly their toolset is far superior and they should redevelop our ENTIRE j2ee application simply because web service development is no longer possible?

Or is there a better way? Any hints would be appreciated!
 
You showed up just in time for the waffles! And this 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