Morning Markus and Paul

Not to mention Properly Specifying the endpoint address for inbound and outbound routers
Take a look at
http://mule.mulesource.org/display/MULE/Calling+.NET+Web+Services+using+XFiredid you Ping  the folks 
at mule [EMAIL PROTECTED] email message and any files transmitted with it contain 
confidentialinformation intended only for the person(s) to whom this email message isaddressed.  If 
you have received this email message in error, please notifythe sender immediately by telephone or 
email and destroy the originalmessage without making a copy.  Thank you.----- Original Message 
-----From: "Paul Fremantle" <[EMAIL PROTECTED]>To: 
<[email protected]>Sent: Friday, April 27, 2007 4:35 AMSubject: Re: Axis2 xmlbeans http 
transport error 302 foundMarkusIn general Axis2 is compatible with .NET and C#. The other option isto 
enable much more logging on the Java side and take a look at thelogs.A log4j.properties like this 
should do the trick:log4j.logger.TRACE_LOGGER = 
TRACE_APPENDERlog4j.appender.TRACE_APPENDER.File=logs/trace.loglog4j.appender.TRACE_APPENDER.
Append=truelog4j.appender.TRACE_APPENDER.layout=org.apache.log4j.PatternLayoutlog4j.appender.TRACE_APPENDER.layout.ConversionPattern=[%X{ip}][%X{host}]
 [%t] %-5p %C{1} - %m %nlog4j.category.org.apache=DEBUGPaulOn 4/27/07, Markus F. <[EMAIL PROTECTED]> wrote:>> Paul>> 
thanks for your engagement about this.> I'm sorry, the server is not available to public, you have to sign a test> account 
contract (as we did) with the company providing the service.>> This is also why i didnot post my code.> I know that that will 
not ease the whole thing to solve.> The only thing available is the wsdl, as its public, you could generate> client code off from 
it, I don“t know if this would help, as long as you> want to fire off a request you have to have an account there.> Perhaps you 
see something in the generated code that would help findingthe> problem?>> As well it seems to me, that it might be a M$ C# 
incompatiblity with the> Java world, although web services should be interoperable, perha
ps some> details where C# clients have other defaults, and that's why it worksthere.> But only a guess. Otherwise I cannot explain that others use this service.>> If you would find it helpful I'll send the wsdl to you, but let me contact> the service company first, to assure that this 
would be OK>> Markus>>> pzfreo wrote:> >> > Markus> >> > Is this a publicly available server that we can try?> >> > Paul> >> > On 4/26/07, Markus F. <[EMAIL PROTECTED]> wrote:> >>> >> Paul> >>> >> 
I guess I can't monitor a http*s* connection with tcpmon?> >> I mean I could but I would't see anything readable...> >> Unfortunately my service is only available over TLS, so I will not be> >> able> >> to figure out whats going over the line that easy.> 
>>> >> Is there no other way of debbuging?> >>> >> What I've also tried is to access the URL over the browser, after> >> authentication I get an SOAP error message saying something about> >> incomplete> >> request -> So the URL must be 
correct, right
?> >>> >> What I did was trying out XFire, again with no success, but this timeit> >> seemed to be a binding issue with namespaces and JAXB which is the only> >> option when autogenerating a client with XFire, as I figured 
out. The> >> error> >> message said something about an unknown method even though the Classwas> >> there. I didnot understand what the real problem was, because the error> >> message was not very helpful to me.> >> 
 (org.codehaus.xfire.fault.XFireFault: Method 'Payment' notimplemented:> >> method name or namespace not recognized> >>         at> >>org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)> 
>> ....  )> >>> >> Anyway, asking questions about xfire doesnot belong here.> >> What confuses about my axis2 variant, is that it talks aboutredirecting,> >> and xfire does not.> >>> >> One of my 
intents why i chose to use a soap based communication with an> >> already working server implementation (there are users successfu
llyusing> >> it, even though maybe not based on Java but C#) was that it should be> >> easy.> >> Generate a client and use it.> >>> >> But it seems to me, that the S in SOAP doesnot really mean simple, at> >> least> >> for me :(> >>> >> Markus> >>> >>> >>> >> pzfreo wrote:> >> >> >> > Markus> >> 
>> >> > I think you need to use tcpmon to trace the HTTP flow. It seems like> >> > the server doesn't like    the URI that you are sending the request> >> > to. Its sending back an HTTP 302 Found code which is basically a> >> > redirect. I guess Axis2 should probably follow that redirect, but at> >> > the same time the server shouldn't be publishing a URI in the WSDL> >> 
> that ends up with a redirect.> >> >> >> > If you trace it you can set the stub to go to the real URI and all> >> > should be fine.> >> >> >> > Paul> >> >> >> > On 4/25/07, Markus F. <[EMAIL PROTECTED]> wrote:> >> >>> >> >> Hello list,> >> >> this is my first contact with axis2. I've to implemtent a 
clientusing> >>
 a> >> >> 3rd> >> >> party service over https and username/passwd authentication.> >> >> I've been spending many hours on this and couldnot find any similar> >> >> errors> >> >> on the list or even on the web> >> >> I autogenerated the client with following command.> >> >>> >> >> wsdl2java.bat -o src\generated -s -p com.someservice.test -uri> >> >> src\wsdl\some.wsdl -d 
xmlbeans> >> >>> >> >> The wsdl makes use of complex type extension, so I'm using xmlbeans> >> for> >> >> binding.> >> >> I get the following error: org.apache.axis2.AxisFault: HTTPTransport> >> >> error> >> >> : '302' - 'Found'> >> >> It must be something basic, what I'm missing here, because I get the> >> same> >> >> error when not providing the credentials.> >> 
>>> >> >> Any hints?> >> >> Thanks a lot.> >> >> Markus> >> >>> >> >>> >> >> Here's the stack trace:> >> >>> >> >> 25.04.2007 11:17:54 org.apache.commons.httpclient.HttpMethodDirector> >> >> isRedirectNeeded> >> >> INFO: Redirect requested but follo
wRedirects is disabled> >> >> org.apache.axis2.AxisFault: HTTP Transport error : '302' - 'Found';> >> >> nested> >> >> exception is:> >> >>         org.apache.axis2.AxisFault: HTTP Transport error : '302' -> >> >> 'Found'; nested> >> >> exception is:> >> >>         org.apache.axis2.AxisFault: HTTP Transport 
error : '302' -> >> >> 'Found'; nested> >> >> exception is:> >> >>         org.apache.axis2.AxisFault: HTTP Transport error : '302' -> >> >> 'Found'> >> >>         at> >> >>> >>org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:227)> >> >>         at> 
>> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:674)> >> >>         at> >> >>> >>org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:237)> >> >>         at> >> >>> >>org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)> >> >>         
...> >> >> Caused by: org.apache.axis2.AxisFault: HTTP Transport er
ror :'302' -> >> >> 'Found'; nested exception is:> >> >> org.apache.axis2.AxisFault: HTTP Transport error : '302' -> >> >> 'Found'> >> >> at> >> >>> >>org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:344)> >> >> at> >> >>> >>org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:204)> >> >> ... 5 more> >> >> Caused by: org.apache.axis2.AxisFault: HTTP Transport error :'302' -> >> >> 'Found'> >> >> at> >> >>> >>org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:144)> >> >> at> >> >>> >>org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:335)> >> >> ... 6 more> >> >> --> >> >> View this message in context:> >> >>> >>http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10177848> >> >> Sent from the Axis - User mailing list archive at Nabble.com.> >> >>> >> >>> >>>> ---------------------------------------------------------------------> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]> >> >> For additional commands, e-mail: [EMAIL PROTECTED]> >> >>> >> >>> >> >> >> >> >> > --> >> > Paul Fremantle> >> > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair> >> >> >> > http://bloglines.com/blog/paulfremantle> >> > [EMAIL PROTECTED]> >> >> >> > "Oxygenating the Web Service Platform", www.wso2.com> >> >> >> > ---------------------------------------------------------------------> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]> >> > For additional commands, e-mail: [EMAIL PROTECTED]> >> >> >> >> >> >> >>> >> --> >> View this message in context:> >>http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10199717> >> Sent from the Axis - User mailing list archive at Nabble.com.> >>> >>> >> -----------
----------------------------------------------------------> >> To unsubscribe, e-mail: [EMAIL PROTECTED]> >> For additional commands, e-mail: [EMAIL PROTECTED]> >>> >>> >> >> > --> > Paul 
Fremantle> > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair> >> > http://bloglines.com/blog/paulfremantle> > [EMAIL PROTECTED]> >> > "Oxygenating the Web Service Platform", www.wso2.com> >> > 
---------------------------------------------------------------------> > To unsubscribe, e-mail: [EMAIL PROTECTED]> > For additional commands, e-mail: [EMAIL PROTECTED]> >> >> >>> --> View this message in 
context:http://www.nabble.com/Axis2-xmlbeans-http-transport-error-302-found-tf3644416.html#a10210946> Sent from the Axis - User mailing list archive at Nabble.com.>>> ---------------------------------------------------------------------> 
To unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]
.apache.org>>--Paul FremantleVP/Technology, WSO2 and OASIS WS-RX TC 
Co-chairhttp://bloglines.com/blog/[EMAIL PROTECTED]"Oxygenating the Web Service 
Platform", 
www.wso2.com---------------------------------------------------------------------To 
unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to