Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wsdl2java that work with Oracle10g ??

 
Jose Jim�nez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need generate a client proxy (stubs/Skeletons) from .wsdl but i haven't access to server where is .wsdl (There are a link to create stubs client).

I need anythink how wsdl2java that work ok whith Oracle10g �����

Can anybody help me ??
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The wsdl2java Ant task that comes with Axis does not need to have access to the remote server. It works off a local WSDL file.
 
Jose Jim�nez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes but with axis i can problem whith authentication.
Error 401 Unauthenticate and i set the user and password correct in call.
I think that Axis with oracle not work fine.
 
Tim West
Ranch Hand
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Download the WSDL, or get a local copy of it by some means, and run Axis off the local copy. There's no need to use a remote one.

Is this HTTP Basic authentication?


-Tim
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your client you will need to add a few lines of code that set the username and password in the stub; should be 3 lines. Whether the supporting classes have been generated by Axis or some other tool should not make a difference. Why don't you post the code that is supposed to deal with authentication in your client.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic