This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39535
    
  27
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 - updated with new look and Ping home screen widget
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: 39535
    
  27
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wsdl2java that work with Oracle10g ??
 
Similar Threads
Axis client stub compatibility
Client changes to support mutual authentication in web services
How to write Client in Apache Axis?
How to connect to multiple web services using JAVA?
Help Urgently Needed