First off, thank you for all the replies. We are using the end point reference (EPR) that is defined in the wsdl. I actually tried the other way of defining the EPR in the creation of the stub and that did not help either.
We are not using a proxy. (The request is actually sent with using both soapUI and a custom commons httpclient.) However, I am trying the following. The actual domain name of our web service's url does not exist yet and so I'm changing my machines host file to point to the correct remote machine. For example. We have our test machine running our web service and that machine is located at: xxx.test.xxx.com. Our wsdl is written for xxx.xxx.com. So I've change my local host file to have xxx.xxx.com reference xxx.test.xxx.com. Would that make any difference? Finally, I was wondering if the request was even making it to our server. So I started to look at our access logs for apache and the request from the stub never even makes it to our server. However, I did make a httpclient tester and was able to get our request to the server and the soapUI requests still make it to the server. Here is the log4j information i was able to get from both org.apache.commons.httpclient and org.apache.axis2. Its a tad verbose: 2007-10-19 09:32:36,395 org.apache.axis2.description.AxisService DEBUG->mapActionToOperation: Mapping Action to Operation: action: registerLearner; operation: [EMAIL PROTECTED] 2007-10-19 09:32:36,395 org.apache.axis2.description.AxisService DEBUG->mapActionToOperation: Mapping Action to Operation: action: urn:registerLearner; operation: [EMAIL PROTECTED] 2007-10-19 09:32:36,426 org.apache.axis2.util.Loader DEBUG->Trying to find [org/apache/axis2/deployment/axis2_default.xml] using [EMAIL PROTECTED] class loader. log4j:WARN No appenders could be found for logger (org.apache.axiom.om.util.StAXUtils). log4j:WARN Please initialize the log4j system properly. 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler RequestURIBasedDispatcher added to Phase Transport 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPActionBasedDispatcher added to Phase Transport 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler AddressingBasedDispatcher added to Phase Addressing 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler RequestURIBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPActionBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler RequestURIOperationDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler HTTPLocationBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler AddressingBasedDispatcher added to Phase Addressing 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler RequestURIBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPActionBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler RequestURIOperationDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler SOAPMessageBodyBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,676 org.apache.axis2.engine.Phase DEBUG->Handler HTTPLocationBasedDispatcher added to Phase Dispatch 2007-10-19 09:32:36,786 org.apache.axis2.description.OutInAxisOperationClient DEBUG->Entry: OutInAxisOperationClient::execute, true 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition for Phase "OperationOutPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "OperationOutPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditions for phase "OperationOutPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition for Phase "RMPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "RMPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditions for phase "RMPhase" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition for Phase "PolicyDetermination" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "PolicyDetermination" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditions for phase "PolicyDetermination" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition for Phase "MessageOut" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "MessageOut" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditions for phase "MessageOut" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking pre-condition for Phase "Security" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking phase "Security" 2007-10-19 09:32:36,786 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Checking post-conditions for phase "Security" 2007-10-19 09:32:36,864 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.useragent = Jakarta Commons-HttpClient/3.0.1 2007-10-19 09:32:36,864 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.protocol.version = HTTP/1.1 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.protocol.cookie-policy = rfc2109 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.protocol.element-charset = US-ASCII 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.protocol.content-charset = ISO-8859-1 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.method.retry-handler = [EMAIL PROTECTED] 2007-10-19 09:32:36,879 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Java version: 1.6.0_01 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Java vendor: Sun Microsystems Inc. 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Java class path: C:\java\src\userserviceclient;C:\java\tools\axis2-1.3\lib\activation-1.1.jar;C:\java\tools\axis2-1.3\lib\annogen-0.1.0.jar;C:\java\tools\axis2-1.3\lib\axiom-api-1.2.5.jar;C:\java\tools\axis2-1.3\lib\axiom-dom-1.2.5.jar;C:\java\tools\axis2-1.3\lib\axiom-impl-1.2.5.jar;C:\java\tools\axis2-1.3\lib\axis2-adb-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-adb-codegen-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-ant-plugin-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-clustering-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-codegen-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-fastinfoset-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-java2wsdl-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-jaxbri-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-jaxws-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-jaxws-api-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-jibx-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-json-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-jws-api-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-kernel-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-metadata-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-mtompolicy-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-saaj-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-saaj-api-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-spring-1.3.jar;C:\java\tools\axis2-1.3\lib\axis2-xmlbeans-1.3.jar;C:\java\tools\axis2-1.3\lib\backport-util-concurrent-2.2.jar;C:\java\tools\axis2-1.3\lib\commons-codec-1.3.jar;C:\java\tools\axis2-1.3\lib\commons-fileupload-1.1.1.jar;C:\java\tools\axis2-1.3\lib\commons-httpclient-3.0.1.jar;C:\java\tools\axis2-1.3\lib\commons-io-1.2.jar;C:\java\tools\axis2-1.3\lib\commons-logging-1.1.jar;C:\java\tools\axis2-1.3\lib\geronimo-annotation_1.0_spec-1.1.jar;C:\java\tools\axis2-1.3\lib\geronimo-jms_1.1_spec-1.1.jar;C:\java\tools\axis2-1.3\lib\httpcore-4.0-alpha5.jar;C:\java\tools\axis2-1.3\lib\httpcore-nio-4.0-alpha5.jar;C:\java\tools\axis2-1.3\lib\httpcore-niossl-4.0-alpha5.jar;C:\java\tools\axis2-1.3\lib\jalopy-1.5rc3.jar;C:\java\tools\axis2-1.3\lib\jaxb-api-2.0.jar;C:\java\tools\axis2-1.3\lib\jaxb-impl-2.0.5.jar;C:\java\tools\axis2-1.3\lib\jaxb-xjc-2.0.5.jar;C:\java\tools\axis2-1.3\lib\jaxen-1.1.1.jar;C:\java\tools\axis2-1.3\lib\jettison-1.0-RC1.jar;C:\java\tools\axis2-1.3\lib\jibx-bind-1.1.5.jar;C:\java\tools\axis2-1.3\lib\jibx-run-1.1.5.jar;C:\java\tools\axis2-1.3\lib\juli-6.0.10.jar;C:\java\tools\axis2-1.3\lib\log4j-1.2.14.jar;C:\java\tools\axis2-1.3\lib\mail-1.4.jar;C:\java\tools\axis2-1.3\lib\mex-impl-1.3.jar;C:\java\tools\axis2-1.3\lib\neethi-2.0.2.jar;C:\java\tools\axis2-1.3\lib\soapmonitor-1.3.jar;C:\java\tools\axis2-1.3\lib\stax-api-1.0.1.jar;C:\java\tools\axis2-1.3\lib\tribes-6.0.10.jar;C:\java\tools\axis2-1.3\lib\woden-1.0-incubating-M7b.jar;C:\java\tools\axis2-1.3\lib\wsdl4j-1.6.2.jar;C:\java\tools\axis2-1.3\lib\wstx-asl-3.2.1.jar;C:\java\tools\axis2-1.3\lib\xalan-2.7.0.jar;C:\java\tools\axis2-1.3\lib\xbean-2.2.0.jar;C:\java\tools\axis2-1.3\lib\xercesImpl-2.8.1.jar;C:\java\tools\axis2-1.3\lib\xml-apis-1.3.03.jar;C:\java\tools\axis2-1.3\lib\XmlSchema-1.3.2.jar 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Operating system name: Windows XP 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Operating system architecture: x86 2007-10-19 09:32:36,879 org.apache.commons.httpclient.HttpClient DEBUG->Operating system version: 5.1 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->SUN 1.6: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration) 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->SunRsaSign 1.5: Sun RSA signature provider 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->SunJSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->SunJCE 1.6: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC) 2007-10-19 09:32:36,958 org.apache.commons.httpclient.HttpClient DEBUG->SunJGSS 1.0: Sun (Kerberos v5, SPNEGO) 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5) 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory) 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->SunPCSC 1.6: Sun PC/SC provider 2007-10-19 09:32:36,973 org.apache.commons.httpclient.HttpClient DEBUG->SunMSCAPI 1.6: Sun's Microsoft Crypto API provider 2007-10-19 09:32:36,973 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.connection.timeout = 30000 2007-10-19 09:32:36,973 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.socket.timeout = 30000 2007-10-19 09:32:36,973 org.apache.commons.httpclient.params.DefaultHttpParams DEBUG->Set parameter http.socket.timeout = 30000 2007-10-19 09:32:36,989 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG->contentType from the OMOutputFormat =application/soap+xml 2007-10-19 09:32:36,989 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG->contentType returned =application/soap+xml; charset=UTF-8; action="urn:registerLearner" 2007-10-19 09:32:37,020 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager DEBUG->HttpConnectionManager.getConnection: config = HostConfiguration[host=http://xxx.test.xxx.com], timeout = 0 2007-10-19 09:32:37,036 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager DEBUG->Allocating new connection, hostConfig=HostConfiguration[host=http://xxx.test.xxx.com] 2007-10-19 09:32:37,036 org.apache.commons.httpclient.HttpConnection DEBUG->Open connection to mastery.test.knowledgefactor.com:80 2007-10-19 09:32:37,114 org.apache.commons.httpclient.HttpMethodBase DEBUG->Adding Host request header 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG->start writeTo() 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG-> preserve=false 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG-> isOptimized=false 2007-10-19 09:32:37,129 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG-> isDoingSWA=false 2007-10-19 09:32:37,145 org.apache.axis2.transport.http.SOAPMessageFormatter DEBUG->end writeTo() 2007-10-19 09:32:37,145 org.apache.commons.httpclient.methods.EntityEnclosingMethod DEBUG->Request body sent 2007-10-19 09:33:07,661 org.apache.commons.httpclient.HttpMethodDirector DEBUG->Closing the connection. 2007-10-19 09:33:07,661 org.apache.commons.httpclient.HttpMethodDirector DEBUG->Method retry handler returned false. Automatic recovery will not be attempted 2007-10-19 09:33:07,661 org.apache.commons.httpclient.HttpConnection DEBUG->Releasing connection back to connection manager. 2007-10-19 09:33:07,677 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager DEBUG->Freeing connection, hostConfig=HostConfiguration[host=http://xxx.test.xxx.com] 2007-10-19 09:33:07,677 org.apache.commons.httpclient.util.IdleConnectionHandler DEBUG->Adding connection at: 1192807987677 2007-10-19 09:33:07,677 org.apache.commons.httpclient.MultiThreadedHttpConnectionManager DEBUG->Notifying no-one, there are no waiting threads 2007-10-19 09:33:07,677 org.apache.axis2.transport.http.HTTPSender INFO->Unable to sendViaPost to url[http://mastery.test.knowledgefactor.com:80/app/services/userservice] java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:77) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:105) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1115) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1373) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1832) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1590) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:995) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) at com.xxx.webservice.client.UserserviceStub.registerLearner(UserserviceStub.java:146) at com.xxx.webservice.client.UserServiceTest.main(UserServiceTest.java:19) 2007-10-19 09:33:07,677 org.apache.axis2.transport.http.CommonsHTTPTransportSender DEBUG->org.apache.axis2.AxisFault: Read timed out 2007-10-19 09:33:07,677 org.apache.axis2.transport.http.CommonsHTTPTransportSender DEBUG->org.apache.axis2.AxisFault: Read timed out 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete() in Phase "Security" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete() in Phase "MessageOut" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete() in Phase "PolicyDetermination" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete() in Phase "RMPhase" 2007-10-19 09:33:07,677 org.apache.axis2.engine.Phase DEBUG->[MessageContext: logID=urn:uuid:848EC29E4C11FE8B841192807956793] Invoking flowComplete() in Phase "OperationOutPhase" ________________________________ Date: Fri, 19 Oct 2007 08:00:02 +0530 From: [EMAIL PROTECTED] To: [email protected] Subject: Re: [axis2] Generated Client Stub Not Connecting to Remote Service Hi, The generated stub uses the end point reference (URL) given in the WSDL. Check whether it is the required one in the generated stub code. The stub uses that EPR when you create a stub instance. If it is not the correct one, there is a stub class constructor which takes a given EPR. Also if you are using a proxy to access outside Internet, you have to give the proxy settings to the stub. ( 2. Proxy Authenticaion at Runtime. In client or stub in http://wso2.org/library/161) Upul On 10/19/07, Nathan Hook <[EMAIL PROTECTED]> wrote: We're using axis2-1.3 and our generated stub is not connection to any remote services. We are able to get our stub to connect to a local web service, but not a remote webservice. SoapUI is able to connect to the remote webservice using the exact same wsdl file. Is there a setting that we need to be aware of for our generated stub to get it to connect to a remote webservice? Here is the command we used to generate our stub: C:\>%AXIS2_HOME%\bin\WSDL2Java -uri .wsdl -p -d adb -s We also created a generic commons httpclient and it connected to the remote webservice too. An friendly advice or direction is appreciated. Thank you for your time. _________________________________________________________________ Boo!Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _________________________________________________________________ Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now. http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
