I will try the ip address for the production ip address. The port it is running on
is 80. Port 80 is definately open on the production machine as I can make requests
to the webservice using a browser. I do not believe the firewall is to blame because I
can access port 80.
Let me give the ip address a shot and see what happens. I guess it could still be a proxy
problem but I am not sure where a proxy could be. My linux client is not running a proxy
so it would have to be on the webservice production server?
Anthony Bargnesi
On 1/20/06, Tootell, James <[EMAIL PROTECTED]> wrote:
Just as a trouble shooting precaution, I would try using the IP address just to eliminate DNS as a variable. Next I would look at what port the webservice is running on. Development often happens using 8080 but a lot of production services go on 80 and sometimes people forget to open and close the right ports. If the ports are correct, then I would go to your next statement where you say "...the request has never been made...". If you are sure the request is leaving the client intact but it never reaches the server then that might indicate a firewall problem.
From: Anthony Bargnesi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 20, 2006 9:12 AM
To: [email protected]
Subject: Re: Reasons why Webservice is inaccessible from WAN?James,
Thanks for your reply. The url is not internal, it resolves to a WAN IP. If I were to replace
the IP in the endpoint address I do not think that would make a difference. Should I try to
use the IP in the endpoint address even though the server IP is not internal?
As for error messages, the request has never been made so there is not too much. I turned
on debugging in the axis.log and in http.log (which is always empty!) and this is what I get:
0 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
42 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.resource, locale en_US
42 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - Created org.apache.axis.i18n.resource, linked to parent null
44 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - getBundle(org.apache.axis,org.apache.axis.utils,resource,null,...)
46 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.utils.resource , locale en_US
47 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - loadBundle: Ignoring MissingResourceException: Can't find bundle for base name org.apache.axis.resource, locale en_US
47 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - Root package not found, cross link to org.apache.axis.i18n.resource
47 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - Root package not found, cross link to org.apache.axis.i18n.resource
47 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(engineFactory)
48 [main] DEBUG org.apache.axis.configuration.EngineConfigurationFactoryFinder - Got EngineFactory: org.apache.axis.configuration.EngineConfigurationFactoryDefault
60 [main] DEBUG org.apache.axis.AxisEngine - Enter: AxisEngine::init
638 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject (attachEnabled)
639 [main] DEBUG org.apache.axis.utils.JavaUtils - Attachment support is enabled? true
677 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.lang.String, {http://xml.apache.org/xml-soap}PlainText )
682 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject (oddDigits00)
682 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(badChars01)
770 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.awt.Image, {http://xml.apache.org/xml-soap}Image )
772 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class javax.mail.internet.MimeMultipart, {http://xml.apache.org/xml-soap}Multipart)
775 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(interface javax.xml.transform.Source, {http://xml.apache.org/xml-soap}Source)
778 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class org.apache.axis.attachments.OctetStream, {http://xml.apache.org/xml-soap}octet-stream)
778 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory()
872 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.lang.String, {http://xml.apache.org/xml-soap}PlainText )
873 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class java.awt.Image, {http://xml.apache.org/xml-soap}Image )
873 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class javax.mail.internet.MimeMultipart, {http://xml.apache.org/xml-soap}Multipart)
874 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(interface javax.xml.transform.Source, {http://xml.apache.org/xml-soap}Source)
874 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory(class org.apache.axis.attachments.OctetStream, {http://xml.apache.org/xml-soap}octet-stream)
874 [main] DEBUG org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory - Enter/Exit: JAFDataHandlerDeserializerFactory()
887 [main] DEBUG org.apache.axis.AxisEngine - Exit: AxisEngine::init
903 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in0
typeEntry: null
mode: IN
position: 0
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@60991f<total parameters:1
904 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in1
typeEntry: null
mode: IN
position: 1
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@1e4f7c2<total parameters:2
904 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in2
typeEntry: null
mode: IN
position: 2
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@145f0e3<total parameters:3
904 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in3
typeEntry: null
mode: IN
position: 3
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@c9d92c<total parameters:4
904 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in4
typeEntry: null
mode: IN
position: 4
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}dateTime
javaType: class java.util.Calendar
inHeader: false
outHeader: false
@1d0fafc<total parameters:5
904 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in5
typeEntry: null
mode: IN
position: 5
isReturn: false
typeQName: { http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@10dc6b5<total parameters:6
907 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in6
typeEntry: null
mode: IN
position: 6
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
@170bea5<total parameters:7
907 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87 added parameter >name: in7
typeEntry: null
mode: IN
position: 7
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}int
javaType: int
inHeader: false
outHeader: false
@f47396<total parameters:8
907 [main] DEBUG org.apache.axis.description.OperationDesc - @1bf3d87setReturnType({http://schemas.xmlsoap.org/soap/encoding/}int )
945 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(transport00)
945 [main] DEBUG org.apache.axis.client.Call - Transport is [EMAIL PROTECTED]
946 [main] DEBUG org.apache.axis.client.Call - Enter: Call::invoke(ns, meth, args)
965 [main] DEBUG org.apache.axis.client.Call - operation=name: addEmailActivity
returnQName: addEmailActivityReturn
returnType: {http://schemas.xmlsoap.org/soap/encoding/}int
returnClass: class java.lang.Integer
elementQName:null
soapAction: null
style: rpc
use: encoded
numInParams: 8
method:null
ParameterDesc[0]:
name: in0
typeEntry: null
mode: IN
position: 0
isReturn: false
typeQName: { http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[1]:
name: in1
typeEntry: null
mode: IN
position: 1
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[2]:
name: in2
typeEntry: null
mode: IN
position: 2
isReturn: false
typeQName: { http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[3]:
name: in3
typeEntry: null
mode: IN
position: 3
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[4]:
name: in4
typeEntry: null
mode: IN
position: 4
isReturn: false
typeQName: { http://www.w3.org/2001/XMLSchema}dateTime
javaType: class java.util.Calendar
inHeader: false
outHeader: false
ParameterDesc[5]:
name: in5
typeEntry: null
mode: IN
position: 5
isReturn: false
typeQName: {http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[6]:
name: in6
typeEntry: null
mode: IN
position: 6
isReturn: false
typeQName: { http://schemas.xmlsoap.org/soap/encoding/}string
javaType: class java.lang.String
inHeader: false
outHeader: false
ParameterDesc[7]:
name: in7
typeEntry: null
mode: IN
position: 7
isReturn: false
typeQName: {http://www.w3.org/2001/XMLSchema}int
javaType: int
inHeader: false
outHeader: false
965 [main] DEBUG org.apache.axis.client.Call - operation.getNumParams()=8
965 [main] DEBUG org.apache.axis.client.Call - getParamList number of params: 8
972 [main] DEBUG org.apache.axis.client.Call - Enter: Call::invoke(RPCElement)
1003 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
1003 [main] DEBUG org.apache.axis.Message - Attachment support is enabled? true
THANKS,
-Anthony
On 1/20/06, Tootell, James <[EMAIL PROTECTED]> wrote:In addition to proxy servers, also look at the URL you are using to access your webservice. I've received WSDL from other houses that referenced their internal URLs (e.g. http://companylan/webservice instead of http://companylan.company.com/webservice). Sometimes it is better to use IP addresses in place of URLs but most of the same visibility issues will still apply.Do you have any error messages you can post?JT
From: Anthony Bargnesi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 20, 2006 8:03 AM
To: [email protected]
Subject: Reasons why Webservice is inaccessible from WAN?Hello,
I was wondering if anybody has ever encountered a scenario where
your deployed webservice works fine within a LAN but fails when accessing
from a WAN. I have a deployed webservice where accessing it from a WAN
causes the client to hang when doing a Call.invoke. Has anyone encountered
this problem or do you think it is more a problem with the client system?
Packet capturing was done on the WAN client and discovered that no soap request
is made to the webservice. The axis debug ends with this before hanging indefinately:
968 [main] DEBUG org.apache.axis.client.Call - operation.getNumParams()=8
968 [main] DEBUG org.apache.axis.client.Call - getParamList number of params: 8
975 [main] DEBUG org.apache.axis.client.Call - Enter: Call::invoke(RPCElement)
1006 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject (attachEnabled)
1006 [main] DEBUG org.apache.axis.Message - Attachment support is enabled? true
But it is clear that a SOAP request is never made to the webservice.
Any ideas?
Thanks!,
Anthony Bargnesi
