470,842 Members | 1,386 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,842 developers. It's quick & easy.

Accessing Java Web Service

I am trying to access Web Service of a Vendor. Its built using Java on
Connection is restricted to users with client certificate provided by them
NOT from any recognised authority.

The Web Service setup at the vendor does not allow us to browse the wsdl or
xsd. They have provided us the wsdl for to use.

My problem is I am unable to compile the wsdl using wsdl.exe because it gives
me an error message tht the xsd file is missing. Additionally I am unable to
connect to the web service via .NET get a connection timeout. I can use the
browser and see the connection in progress because it requests a client
certificate and connection is done.

Can anyone please help me clarify the following.
1. Does .NET have issues with client certificates issued by a CA not part of
trusted list.
2. How do we convert the wsdl to get the proxy file.

Vendor on their part say all users who have used java for implementation have
been using the service without any issue. Any changes at the vendor end is
not possible.

Nov 23 '05 #1
1 1578
..Net uses the same mechanisms as Internet Explorer does for making HTTP
requests. With that the CA needs to be in the trusted list for the
user making the request. If you have multiple users accessing this web
service I suggest creating a service agent that will make the requests
for your users on their behalf. Think of a service agent as the same
thing as a data access component talking to a database but in this case
it will talk to a web service.

As for the Wsdl issues, man if i had a nickle for everytime I have seen
someoen have problems consuming a java web service in .Net, I would be
retired in the cayman islands right now. First, in my mind the easiest
way to get the wsdl into a proxy class, and to dump it on some local
site, and let Visual Studio do the work. I am assuming this is what
you are doing, but I could be wrong. Generally the xsd's are created
for typed datasets by the Visual Studio IDE, so I am not sure why it
says it is missing.

As for the vendor, if they could not support a .Net web service which
in reality should be only minor tweaks on there side. i would not do
business with them. Any one that says, well it works with Java, missed
the whole concept of a web service in the first place.

Anyways. the community here would need to see the wsdl to try to help
you find a resolution. So if you can please share it, so that we may

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Kookymon1 | last post: by
reply views Thread by Paul Hutchinson | last post: by
6 posts views Thread by Siddharth | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.