Hi,
I noticed that a dispatch client works even if the port QName is wrong. This doesn't make sense. Here's a client that shows the aforementioned behavior:
https://github.com/abhijitsarkar/java-e ... lient.java
Dispatch client works even if port QName is wrong
Moderators: Site Manager, fjwalraven
-
- Posts: 12
- Joined: Thu Nov 28, 2013 5:23 pm
- Contact:
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: Dispatch client works even if port QName is wrong
Under the jax-ws/jaxws-depoly-desc/src/main/resources/wsdl, there are some wsdl files that specifies the targetnamespace as http://abhijitsarkar.name/webservices/j ... ploy-desc/
I think the author first creates the wsdl and then generates the SEI and SBI for the service.
The client is using the above targetnamespace to create the dispatch client.
I think the author first creates the wsdl and then generates the SEI and SBI for the service.
The client is using the above targetnamespace to create the dispatch client.
-
- Posts: 12
- Joined: Thu Nov 28, 2013 5:23 pm
- Contact:
Re: Dispatch client works even if port QName is wrong
I happen to be the author and no, I didn't start from WSDL, that wasn't the purpose of the project. The purpose was to override some of the annotation values using a webservices.xml.himaiMinh wrote:Under the jax-ws/jaxws-depoly-desc/src/main/resources/wsdl, there are some wsdl files that specifies the targetnamespace as http://abhijitsarkar.name/webservices/j ... ploy-desc/
I think the author first creates the wsdl and then generates the SEI and SBI for the service.
The client is using the above targetnamespace to create the dispatch client.
In any case, a dispatch client shouldn't be able to function with a wrong port QName. When you say "The client is using the above targetnamespace to create the dispatch client", which part of the client code do you refer to? Why do you think how the service was developed (contract first/code first) has any influence on the client?
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Who is online
Users browsing this forum: No registered users and 3 guests