This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes wsdl2java that work with Oracle10g ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl2java that work with Oracle10g ??" Watch "wsdl2java that work with Oracle10g ??" New topic
Author

wsdl2java that work with Oracle10g ??

Jose Jim�nez
Ranch Hand

Joined: Jun 15, 2005
Posts: 101
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 ??


SCEA<br />SCWCD<br />SCJP
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41133
    
  45
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.


Ping & DNS - my free Android networking tools app
Jose Jim�nez
Ranch Hand

Joined: Jun 15, 2005
Posts: 101
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

Joined: Mar 15, 2004
Posts: 539
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
Marshal

Joined: Mar 22, 2005
Posts: 41133
    
  45
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.
 
 
subject: wsdl2java that work with Oracle10g ??
 
Similar Threads
How to connect to multiple web services using JAVA?
Help Urgently Needed
Client changes to support mutual authentication in web services
How to write Client in Apache Axis?
Axis client stub compatibility