Sorry for the late reply.
Using TCPmon I attempted to use my webservice on my localhost, port 80.
This is what came up in TCPmon. In the higher of the two windows I got.
GET /axis2/services/version?wsdl HTTP/1.1
Referer: http://localhost:9000/axis2/services/version?wsdl
x-flash-version: 8,0,22,0
User-Agent: Shockwave Flash
Host: localhost:9000
Cache-Control: no-cache
Cookie: JSESSIONID=871705657F39D028CFCA7DC17836C6A5
POST /axis2/services/version HTTP/1.1
Referer: http://localhost:9000/axis2/services/version
x-flash-version: 8,0,22,0
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:getVersion"
Content-Length: 281
User-Agent: Shockwave Flash
Host: localhost:9000
Cache-Control: no-cache
Cookie: JSESSIONID=871705657F39D028CFCA7DC17836C6A5
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><getVersion
/></SOAP-ENV:Body></SOAP-ENV:Envelope>
and in the Lower of the two, I got:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml
Transfer-Encoding: chunked
Date: Thu, 29 Jun 2006 15:43:07 GMT
c39
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:axis2="http://ws.apache.org/axis2"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:ns0="http://axisversion.sample/xsd"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:ns1="http://org.apache.axis2/xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace="http://ws.apache.org/axis2"><wsdl:types><xs:schema
xmlns:ns="http://axisversion.sample/xsd"
targetNamespace="http://axisversion.sample/xsd"
elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:element name="getVersion">
<xs:complexType />
</xs:element>
<xs:element name="getVersionResponse">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="return" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema></wsdl:types><wsdl:message name="getVersionMessage"><wsdl:part
element="ns0:getVersion" name="part1" /></wsdl:message><wsdl:message
name="getVersionResponse"><wsdl:part element="ns0:getVersionResponse"
name="part1" /></wsdl:message><wsdl:portType
name="versionPortType"><wsdl:operation name="getVersion"><wsdl:input
message="axis2:getVersionMessage" /><wsdl:output
message="axis2:getVersionResponse"
/></wsdl:operation></wsdl:portType><wsdl:binding
type="axis2:versionPortType" name="versionSOAP11Binding"><soap:binding
style="document" transport="http://schemas.xmlsoap.org/soap/http"
/><wsdl:operation name="getVersion"><soap:operation style="document"
soapAction="urn:getVersion" /><wsdl:input><soap:body
namespace="http://ws.apache.org/axis2" use="literal"
/></wsdl:input><wsdl:output><soap:body
namespace="http://ws.apache.org/axis2" use="literal"
/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding
type="axis2:versionPortType" name="versionSOAP12Binding"><soap12:binding
style="document" transport="http://schemas.xmlsoap.org/soap/http"
/><wsdl:operation name="getVersion"><soap12:operation style="document"
soapAction="urn:getVersion" /><wsdl:input><soap12:body
namespace="http://ws.apache.org/axis2" use="literal"
/></wsdl:input><wsdl:output><soap12:body
namespace="http://ws.apache.org/axis2" use="literal"
/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding
type="axis2:versionPortType" name="versionHttpBinding"><http:binding
verb="POST" /><wsdl:operation name="getVersion"><http:operation
location="getVersion" /><wsdl:input><mime:content type="text/xml"
/></wsdl:input><wsdl:output><mime:content type="text/xml"
/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service
name="version"><wsdl:port binding="axis2:versionSOAP11Binding"
name="versionSOAP11port0"><soap:address
location="http://localhost:9000/axis2/services/version"
/></wsdl:port><wsdl:port binding="axis2:versionSOAP12Binding"
name="versionSOAP12port0"><soap12:address
location="http://localhost:9000/axis2/services/version"
/></wsdl:port><wsdl:port binding="axis2:versionHttpBinding"
name="versionHttpport0"><http:address
location="http://localhost:9000/axis2/rest/version"
/></wsdl:port></wsdl:service></wsdl:definitions>
0
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 29 Jun 2006 15:43:07 GMT
Connection: close
c6
<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode>
56
<faultstring>null; nested exception is:
java.lang.NullPointerException</faultstring>
8f2
<detail><Exception>org.apache.axis2.AxisFault: null; nested exception is:
java.lang.NullPointerException
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:89)
... 20 more
</Exception></detail>
32
</soapenv:Fault></soapenv:Body></soapenv:Envelope>
0
I really do not know how to read this type of stuff, so any tips that anyone
could give me would be a great help and greatly appreciated.
Thanks a lot,
--LD
----- Original Message -----
From: "robert lazarski" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 28, 2006 4:30 PM
Subject: Re: [Axis2] Flash Not Compatible with Axis2
You may be running an older version of axis2 . I would bet that
tungsten is using something more recent than say the 1.0 release. It
could help us and yourself to try the nightlies:
http://people.apache.org/dist/axis2/nightly/
Furthermore, we really need those soap messages to help via tcpmon or
the soap monitor, as explained in the axis2 docs. That's just the way
most of the axis2 developers are accustomed to working.
HTH,
Robert
http://www.braziloutsource.com/
On 6/28/06, Luke DeWitt <[EMAIL PROTECTED]> wrote:
Hi again Ajith,
Before reporting a bug, I want to make sure there actually is one. I used
Ethereal to see what was going on, and I believe that I have a problem in
Flash and one in Axis now.
My Flash problem (I believe) is now solved, but in order to be sure I
need
to figure out the Axis problem. When I navigate to my 'version?wsdl' file
on
my local machine, I am noticing something odd...
<wsdl:service name="version">
−
<wsdl:port binding="axis2:versionSOAP11Binding"
name="versionSOAP11port0">
<soap:address
location="http://localhost/axis2/services/version:localhost/axis2/services/version"/>
</wsdl:port>
−
<wsdl:port binding="axis2:versionSOAP12Binding"
name="versionSOAP12port0">
<soap12:address
location="http://localhost/axis2/services/version:localhost/axis2/services/version"/>
</wsdl:port>
−
<wsdl:port binding="axis2:versionHttpBinding" name="versionHttpport0">
<http:address
location="http://localhost/axis2/rest/version:localhost/axis2/rest/version"/>
</wsdl:port>
</wsdl:service>
I cannot understand why everything in there is being repeated... When I
go
to the Tungsten servers you pointed me to yesterday, they did not have
this.
How would I go about fixing this in my Axis2 so that I wouldn't be
getting
double locations?
Thank you,
--LD
----- Original Message -----
From: "Ajith Ranabahu" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, June 28, 2006 9:13 AM
Subject: Re: [Axis2] Flash Not Compatible with Axis2
> Hi Luke,
> Like I said in reply to your earlier mail what we need when trying to
> solve this problem is the message that was sent by flash. If you care
> to open jira issue [1] with the necessary messages it will be a great
> help for us to improve Axis2.
>
> Ajith
>
> [1] http://issues.apache.org/jira/
>
> On 6/28/06, Luke DeWitt <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> As some may have seen, I was posting today a lot about trying to get
>> an
>> Axis2 WS to be called from a Flash document I was working on. After a
>> lot
>> of
>> suggestions (thank you to those of you who made suggestions), I still
>> couldn't get it to work.
>>
>> Finally, I got pretty ticked off and I installed Axis v1.4. I pretty
>> much
>> changed nothing in my Action Script code except the name of the WS
>> from
>> 'version' to 'Version' and 'axis2' to 'axis' and tested my movie. It
>> worked
>> perfectly.
>>
>> I'm not sure why it would work in Axis and not Axis2, I am not sure
>> what
>> kind of changes would have changed the XML so much that it wouldn't
>> work,
>> but I wanted to bring it to the attention of people who could
>> (hopefully)
>> do
>> something about it.
>>
>> Thank you,
>>
>> --LD
>
>
> --
> Ajith Ranabahu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]