(I hope I have posted in the right place, I'm new to this stuff)
Hi, I'm developing a web service in Jboss that talks to a .net web service. I've
done all the wsimport things and generated the classes and it all looks good. BUT if I
send data from JBoss the .net service returns a web page with the error "404 not
found". If I send the data from a normal java class run standalone the data works
and I get back a correct response. I have sniffed the TCP data we are sending and notice
the only difference is the TCP headers.
This FAILS (I have changed the host names) run under Jboss
POST /webservices/Session.asmx HTTP/1.1
| SOAPAction: "http://example.com/webservices/Create"
| Content-Type: application/soap+xml; charset=UTF-8
| JBoss-Remoting-Version: 22
| User-Agent: JBossRemoting - 2.2.2.SP8
| Host:
dev.test.com
| Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
| Connection: keep-alive
| Transfer-Encoding: chunked
This works as a standalone application
POST /webservices/Session.asmx HTTP/1.1
| SOAPAction: "http://example.com/webservices/Create"
| Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*;
q=.2
| Content-Type: text/xml; charset=utf-8
| User-Agent: Java/1.6.0_11
| Host:
dev.test.com
| Connection: keep-alive
| Content-Length: 276
The source code is identical, as you can see JBoss is using JBossRemoting and this is
causing the problem (I think). Does anyone know a solution??
Thanks,
Gart
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237151#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...