Hi,
Not sure if the fact that the font was different was affecting my ability to
get my message out there, so I wanted to send this to be sure.
This was what I got in TCPmon when I tried to connect to local host:
Top frame:
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
When trying to connect to the Tungsten servers I got:
Top Window:
GET /axis2/services/version?wsdl HTTP/1.1
Referer: http://localhost:9100/axis2/services/version?wsdl
x-flash-version: 8,0,22,0
User-Agent: Shockwave Flash
Host: localhost:9100
Cache-Control: no-cache
Cookie: JSESSIONID=D60FB81F45CE803F0C9A238B4B108982
Bottom Window:
HTTP/1.1 500 Internal Server Error
Date: Thu, 29 Jun 2006 17:22:37 GMT
Server: Jetty/5.1.10 (Linux/2.6.8-11-em64t-p4-smp i386 java/1.4.2-03
Content-Type: text/html
Content-Length: 1259
Connection: close
<html>
<head>
<title>Error 500 Internal Server Error</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2><pre>Internal Server Error</pre>
<p>RequestURI=/axis2/services/version</p>
<p><i><small><a href="http://jetty.mortbay.org">Powered by
Jetty://</a></small></i></p>
I am really not sure what any of this means, but I hope it can help decipher
this problem.
Thank you,
--LD
----- Original Message -----
From: "Ajith Ranabahu" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
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]