howto connect to a .net webservice from Java

Hi

This is kind of a noob question, but i hope then its easy to answer:-)

I need to make a Java Webservice Client capable of calling a .net webservice created with WSE3.0.The webservice is using the ws-security 1.0 defined in the OASIS specification.

I have been searching these forums for any post regarding the subject and i have found alot of material about wss4j and making wsdd files and so on, but I cant find any descriptions of how to use it.

Im using Eclipse 3.2, but I dont know how to use the right jars and how to create the correct wsdd.

Can anyone point me in the right direction - I just need to get started then i think i can make the rest myself - or i hope so...

Kindly

Jacob Hansen

[749 byte] By [jacob_hansena] at [2007-11-27 8:09:50]
# 1

I am sure you are aware of the idea that it is same even when you are having a JAVA client and .NET web services running. You will exchange SOAP messages in between. Please have a look at JWSDP package of sun at http://java.sun.com/webservices/index.jsp

This package is for web services in JAVA. However, JDK 1.4 and later versions have difference in implementation. Thus I think you need a bit of reading.

You can also have a look at AXIS from Apache at http://ws.apache.org/axis/

For other JAVA related problems such as adding jar get some tutorial.

take care

Mohammed Jubaer Arif

Jubaera at 2007-7-12 19:53:07 > top of Java-index,Core,Core APIs...
# 2

Hi and thanx for your reply

I have been away for a while, so I have just seen your response now.

I have been using Axis to consume webservices for more than a year now, so im not a complete beginner :-) but in reality it can be a real problem getting a java webservice to work wit a .net webservice, security wise especially.

I have been using Axis and Eclipse to make several pretty straight forward webservice clients, using wsdl2java to generate my proxy code.

Now i need to make a java webservice client using jax-ws or another product implementing the ws-security1.0 defined in Oasis to match a .net policy file - i have been reading loads on the internet and i have a pretty good idea how to make the latter steps but i dont know how to begin.

Can i use a Glassfish implementation for instance in the basic Eclipse installation? or should i use Netbeans or something else?

I dont know and every tutorial on the web i have found is based on some experience using a specific program or server setup.

Kindly

Jacob

jacob_hansena at 2007-7-12 19:53:07 > top of Java-index,Core,Core APIs...