IntelliJ Java IDE
The moose likes Flex and the fly likes About the WebService Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Flex
Reply Bookmark "About the WebService" Watch "About the WebService" New topic
Author

About the WebService

Aitch Chung
Greenhorn

Joined: Apr 26, 2010
Posts: 5
Hi, there.

I've recently developed a Flex project using WebService to communicate with Java EE. There're two services hosted on the server: UserService and TestService. When I try to use Factory pattern to create the web service instance as followed:

When I tried to load the wsdl of UserService and call the method as followed, everything was just fine:


But when I tried to do the following:


I got the fault message indicated that UserService's WSDL doese not contain any service titled as "testSomething". Of course, there is no any service titled as "testSomething", I changed the WSDL to another one, but the webServiceLocator instnace still searched the old wsdl AND the new WSDL. Is there anyone knows how to solve this problem, i.e., use the same web service instance to invoke the different methods from different service providers without using any framework (e.g. Cairngorm), but with the plain old school trick? Thanks
 
 
subject: About the WebService
 
Threads others viewed
How to create Web service using JAX-WS in Jboss
question about stateful webservice
Issue related to JAX-WS and Maven
Session Management in web service
Calling Web Service Method using SAAJ
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture