I renamed my previous post as the problem in my opinion is in the Axis2 C http 
server capabilities, which may be a design flaw. The server responds with a 
service not found error as it is unable to identify the correct 
   
  The original post is below the tcpmon trace that follows. I am about to see 
what I can do to identify how the http server handles the http header and 
locates the service... the microsoft namespace QName looks different to what I 
see in the echo test.... which I appended to end of the message after the 
original text
   
  POST /TestData HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2
.0.50727.1366)
VsDebuggerCausalityData: uIDPo7iwHfJnmU1MsR+ixSBkQ/wAAAAAIcBQpWIKEkiCDjuzhhBtsBm
dJpxYAh9KiKHDv3dFhhcACQAA
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://software.mytest.com/GetData";
Host: localhost:9090
Content-Length: 428
Expect: 100-continue
Connection: Keep-Alive
  <?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.
xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
" xmlns:xsd="http://www.w3.org/2001/XMLSchema";><soap:Body><GetData xmlns="http:/
/software.mytest.com/"><serverName>localhost</serverName><areaName>sampl
es</areaName><groupName>Aeration</groupName><bHistory>false</bHistory></GetData>
</soap:Body></soap:Envelope>&#9668;
  RETRIEVING DATA..
/* retrieving time = 17:36:27*/
/* time throughput = 0 sec(s)*/
---------------------
HTTP/1.1 500 Internal Server Error
Content-Type: text/xml;charset=UTF-8
Connection: Keep-Alive
Content-Length: 404
  <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soa
penv:Header/><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><
faultstring>Service Not Found</faultstring><detail><Exception>Service Not Found,
 Endpoint referance address is http://127.0.0.1:8080/TestData and wsa acti
ons is (null)</Exception></detail></soapenv:Fault></soapenv:Body></soapenv:Envel
ope>
   
   
   
   
  
Gavan Hood <[EMAIL PROTECTED]> wrote:
    I suspected a problem with MS support for WS basic profile as opposed to 
WS* indicated in Axis2C. I hoped there would be a solution but have not found 
anything. I am at a point where I need to tweak on of the two worlds... or drop 
Axis2. I still hope there is something I am missing that will let the following 
process work for me... Let me know your thoughts please.
  I have to generate a service that is equivalent to a asmx service that has 
dotnet clients, once I get that I can then extend...
  I know the MS and non MS worlds like to live in isolation, unfortunately I am 
in world that demands they work together.
   
   
  I started with a dotnet asmx web service.... generated its WSDL this was to 
be the base for the service environemnt.
  I then processed the WSDL with WSDL2C from Axis2 to give the C skeleton.
   
  I then compiled the skeleton (by modifying the echo sample makefile ...)
  With the dll etc in the Services folder, I can see it in the default 9090 
connection of listed services (which I think is just a dump of the xml folder 
contents).
   
  I autogenerated a C# client with MS visual studio from the WSDL. It worked 
fine with the .asmx file as you would expect.
  I then pointed it at the Axis2 server and watched the SOAP packets with 
tcpmon, I can see  a significant difference in the format as expected.
  I now need to identify if there are:
  A settting for Microsoft tools to connect to the Axis2C server.
  A configuration setting to Axis2C server to handle dotnet clients as above
   
  If there is no simple change, is there a code change for the Axis2C server  
to trap these connections and translater them. I am guessing I either have to 
make a custom http handler or maybe there is a WS basic profile to WS* 
conversion utility that works like tcpmon....
   
  Any help much appreciated...
   
   
   
   
   
   
   
    
---------------------------------
  Never miss a thing. Make Yahoo your homepage.   
POST /axis2/services/echo HTTP/1.1
User-Agent: Axis2/C
Content-Length: 512
Content-Type: application/soap+xml;charset=UTF-8
Host: localhost:9090
  <soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";><soape
nv:Header 
xmlns:wsa="http://localh'>http://www.w3.org/2005/08/addressing";><wsa:To>http://localh
ost:9090/axis2/services/echo</wsa:To><wsa:Action>http://ws.apache.org/axis2/c/sa
mples/echoString</wsa:Action><wsa:MessageID>1b41e04d-25c6-45ba-8ced-88241f4a6160
</wsa:MessageID></soapenv:Header><soapenv:Body><ns1:echoString xmlns:ns1="http:/
/ws.apache.org/axis2/services/echo"><text>Hello World!</text></ns1:echoString></
soapenv:Body></soapenv:Envelope>å&#9496;5\/&#9787;
  RETRIEVING DATA..
/* retrieving time = 17:37:32*/
/* time throughput = 0 sec(s)*/
---------------------
HTTP/1.1 200 OK
Content-Type: application/soap+xml;charset=UTF-8
Content-Length: 672
  <soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";><soape
nv:Header 
xmlns:wsa="http://ws'>http://www.w3.org/2005/08/addressing";><wsa:Action>http://ws
.apache.org/axis2/c/samples/echoString</wsa:Action><wsa:From><wsa:Address>http:/
/localhost:9090/axis2/services/echo</wsa:Address></wsa:From><wsa:MessageID>220f9
b62-4535-4e35-9208-1c0043b6edb3</wsa:MessageID><wsa:RelatesTo wsa:RelationshipTy
pe="1b41e04d-25c6-45ba-8ced-88241f4a'>http://www.w3.org/2005/08/addressing/reply";>1b41e04d-25c6-45ba-8ced-88241f4a
6160</wsa:RelatesTo></soapenv:Header><soapenv:Body><ns1:echoString xmlns:ns1="ht
tp://ws.apache.org/axis2/c/samples"><text>Hello World!</text></ns1:echoString></
soapenv:Body></soapenv:Envelope>

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Reply via email to