[JBoss-user] [JBossWS] - Re: strage problem tcpmon
thank you all, problem is eliminated View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869044#3869044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869044 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
But if you want to run your client with tcpmon and without it using the same wsdl, you need additional code in your client to overwrite endpoint specified in wsdl when you are going to send request via tcpmon: | // override endpoint address specified in wsdl if proxy is going to be used | String proxyPort = System.getProperty("proxy.port"); | String proxyHost = System.getProperty("proxy.host"); | if (proxyPort != null && proxyHost != null) { | Stub stub = (Stub) endpoint; | URL url = new URL(stub.getEndpointAddress()); | int proxyPortInt = Integer.parseInt(proxyPort); | URL proxyUrl = new URL( | url.getProtocol(), proxyHost, proxyPortInt, url.getPath()); | stub.setEndpointAddress(proxyUrl.toString()); | } | | // call your web service | String ids = endpoint.hello("lalala"); | After you've done it you can switch your client between proxy (tcpmon) and direct call to the endpoint defined in wsdl using system properties proxy.host and proxy.port. Best regards, Vlad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869012#3869012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869012 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
This looks like your jboss is not bound to localhost. I am going to guess that you had tcpmon running when you started jboss. Jboss by default binds to all ip addresses on port 8080, but if something else has bound localhost:8080, jboss will start fine, and just bind the rest of the addresses (not localhost). Make sure that nothing is running that could be listening on localhost:8080 when you start your system. Optionally, you can configure which address jbossws will rewrite your wsdl to by editing the WebServiceHost parameter in deploy/jboss-ws4ee.sar/META-INF/jboss-service.xml -Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868933#3868933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868933 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
Yes I can obtain wsdl from http://192.168.0.200:8080/EJB4/HelloBeanService?wsdl in my browser. And this is the part of it: | | | http://localhost:8080/EJB4/HelloBeanService"/> | | | And in my ejb4.jar this part of wsdl file looks like this: | | | http://this.value.is.replaced.by.jboss"/> | | | As I understand this part of jboss-service.xml has the significant influence on the value of the URL in : | | 8083 | | true | ${jboss.bind.address} | ${jboss.bind.address} | | Is it right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868901#3868901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868901 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
Can you actually obtain the wsdl from http://192.168.0.200:8080/EJB4/HelloBeanService?wsdl in a browser? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868850#3868850 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868850 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
In addition to previous post The wsdl file is generated by axis Java2WSDL, and jaxrpc-mapping and webservices.xml are hand written. Tcpmon messages: client | POST /EJB4/HelloBeanService HTTP/1.0 | Content-Type: text/xml; charset=utf-8 | Accept: application/soap+xml, application/dime, multipart/related, text/* | User-Agent: Axis/#axisVersion# | Host: localhost:8080 | Cache-Control: no-cache | Pragma: no-cache | SOAPAction: "" | Content-Length: 357 | | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | | http://interfaces.zenith.ru";> |lalala | | | | server: | HTTP/1.1 200 OK | X-Powered-By: Servlet 2.4; Tomcat-5.0.28/JBoss-4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418) | Content-Type: text/xml;charset=utf-8 | Date: Fri, 04 Mar 2005 09:09:32 GMT | Server: Apache-Coyote/1.1 | Connection: close | | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | | http://interfaces.zenith.ru";> |Hello, lalala | | | | And the exception occured when I,m trying to invoke the hello() method: | ... | String ids = endpoint.hello("lalala"); | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868767#3868767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868767 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
Hi, What service location is specified in your wsdl file? I mean this part of wsdl: | | | | | | I guess that in your case location is "http://localhost:8080";. If yes, you have to correct your wsdl file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868789#3868789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868789 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: strage problem tcpmon
Ok, I have read all threads in this forum and only one of them (except mine) about the same problem - how to connect wsclient to jboss server on another host?(In other thread there is no answer on that). I understand that my problem is simple but I cant overcome it :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868773#3868773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868773 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user