rabi wrote: > > > Hi Berney, > > I will try and answer your query. Xbean configurations look ok to me. > > Can you share the wsdl for > > http://localhost:88/WebServiceESBunivis/WebServiceESBunivis/WebServiceES > Bunivis.asmx > > Is this a document style. From the code it does not look to me like a > document style WS. > > "String r = webServiceESBunivis.findLectureXML("Architecture");" > >
I'm not sure whether it's a document style WS or not. So it may well be incorrect. Here is the wsdl of WebServiceESBunivis.asmx: <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://univis.com" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://univis.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://univis.com"> <s:element name="findLectureXML"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="lecture_name" type="s:string" /> </s:sequence> </s:complexType> </s:element> <s:element name="findLectureXMLResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="findLectureXMLResult" type="s:string" /> </s:sequence> </s:complexType> </s:element> </s:schema> </wsdl:types> <wsdl:message name="findLectureXMLSoapIn"> <wsdl:part name="parameters" element="tns:findLectureXML" /> </wsdl:message> <wsdl:message name="findLectureXMLSoapOut"> <wsdl:part name="parameters" element="tns:findLectureXMLResponse" /> </wsdl:message> <wsdl:portType name="WebServiceESBunivisSoap"> <wsdl:operation name="findLectureXML"> <wsdl:input message="tns:findLectureXMLSoapIn" /> <wsdl:output message="tns:findLectureXMLSoapOut" /> </wsdl:operation> </wsdl:portType> <wsdl:binding name="WebServiceESBunivisSoap" type="tns:WebServiceESBunivisSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="findLectureXML"> <soap:operation soapAction="http://univis.com/findLectureXML" style="document" /> <wsdl:input> <soap:body use="literal" /> </wsdl:input> <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:binding name="WebServiceESBunivisSoap12" type="tns:WebServiceESBunivisSoap"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> <wsdl:operation name="findLectureXML"> <soap12:operation soapAction="http://univis.com/findLectureXML" style="document" /> <wsdl:input> <soap12:body use="literal" /> </wsdl:input> <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="WebServiceESBunivis"> <wsdl:port name="WebServiceESBunivisSoap" binding="tns:WebServiceESBunivisSoap"> <soap:address location="http://localhost:88/WebServiceESBunivis/WebServiceESBunivis/WebServiceESBunivis.asmx" /> </wsdl:port> <wsdl:port name="WebServiceESBunivisSoap12" binding="tns:WebServiceESBunivisSoap12"> <soap12:address location="http://localhost:88/WebServiceESBunivis/WebServiceESBunivis/WebServiceESBunivis.asmx" /> </wsdl:port> </wsdl:service> </wsdl:definitions> rabi wrote: > > > Also the can you provide the error stack trace with the log level set to > DEBUG. > > Regards, > Rabi Mishra, > http://rabisblog.blogspot.com/ > c++; /* this makes c bigger but returns the old value */ > Here: DEBUG - jetty - REQUEST /MeinBeispiel/ on [EMAIL PROTECTED] DEBUG - jetty - servlet=jbiServlet DEBUG - jetty - chain=null DEBUG - jetty - servelet holder=jbiServlet DEBUG - jetty - continuation [EMAIL PROTECTED] DEBUG - DefaultEndpoint - Received message to null DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase dispatch DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase dispatch DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase dispatch DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase service DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase service DEBUG - HandlerPipeline - Invoking phase transport DEBUG - HandlerPipeline - Invoking phase parse DEBUG - HandlerPipeline - Invoking phase pre-dispatch DEBUG - HandlerPipeline - Invoking phase dispatch DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.handler.LocateBindingHandler in phase dispatch DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.soap.handler.SoapBodyHandler in phase dispatch DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.handler.DispatchServiceHandler in phase dispatch DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase send DEBUG - HandlerPipeline - Invoking phase policy DEBUG - HandlerPipeline - Invoking phase user DEBUG - HandlerPipeline - Invoking phase pre-invoke DEBUG - HandlerPipeline - Invoking phase service DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.service.binding.ServiceInvocationHandler in phase service DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - XMLDocumentationBuilder - Searching for WebServiceESBunivisSoap.doc.xml config.. DEBUG - XMLDocumentationBuilder - Config WebServiceESBunivisSoap.doc.xml NOT found. DEBUG - XMLTypeCreator - Mapping file : /com/univis/WebServiceESBunivisSoap.aegis.xml not found. DEBUG - XMLTypeCreator - Mapping file : /com/univis/WebServiceESBunivisSoap.aegis.xml not found. DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - DefaultTransportManager - Registered transport [EMAIL PROTECTED] DEBUG - XFireProxy - Method [findLectureXML] [Architektur] DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase send DEBUG - HandlerPipeline - Invoking phase post-invoke DEBUG - HandlerPipeline - Invoking phase policy DEBUG - HandlerPipeline - Invoking phase user DEBUG - HandlerPipeline - Invoking phase transport DEBUG - HandlerPipeline - Invoking phase send DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.handler.OutMessageSender in phase send DEBUG - header - >> "POST /WebServiceESBunivis/WebServiceESBunivis/WebServiceESBunivis.asmx HTTP/1.1[\r][\n]" DEBUG - header - >> "Content-Type: text/xml[\r][\n]" DEBUG - header - >> "Content-Length: 265[\r][\n]" DEBUG - header - >> "SOAPAction: ""[\r][\n]" DEBUG - header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]" DEBUG - header - >> "Host: localhost:88[\r][\n]" DEBUG - header - >> "[\r][\n]" DEBUG - content - >> "<?xml version='1.0' encoding='UTF-8'?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:B ody><findLectureXML xmlns="http://univis.com"><lecture_name xmlns="http://univis.com">Architektur</lecture_name></findLectureXML></env:Body></env:Envelope> " DEBUG - header - << "HTTP/1.1 500 Internal Server Error[\r][\n]" DEBUG - header - << "Date: Wed, 04 Jul 2007 06:34:57 GMT[\r][\n]" DEBUG - header - << "Server: Microsoft-IIS/6.0[\r][\n]" DEBUG - header - << "X-Powered-By: ASP.NET[\r][\n]" DEBUG - header - << "X-AspNet-Version: 2.0.50727[\r][\n]" DEBUG - header - << "Cache-Control: private[\r][\n]" DEBUG - header - << "Content-Type: text/xml; charset=utf-8[\r][\n]" DEBUG - header - << "Content-Length: 879[\r][\n]" DEBUG - content - << "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xm lns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode>< faultstring>System.Web.Services.Protocols.SoapException: Der Wert des HTTP-Headers 'SOAPAction' wurde vom Server nicht erkannt: .[\r][\n]" DEBUG - content - << " bei System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()[\r][\n]" DEBUG - content - << " bei System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)[\r][\n]" DEBUG - content - << " bei System.Web.Services.Protocols.SoapServerProtocol.Initialize()[\r][\n]" DEBUG - content - << " bei System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>" ERROR - DefaultFaultHandler - Fault occurred! org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Error sending jbi exchange org.codehaus.xfire.fault.XFireFault: Error sending jbi exchange at org.codehaus.xfire.fault.XFireFault.createFault(XFireFault.java:89) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:30) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75) at org.codehaus.xfire.client.Client.invoke(Client.java:335) at org.apache.servicemix.jsr181.xfire.JbiProxy$JAXWSJBIClient.invoke(JbiProxy.java:228) at org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77) at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57) at org.apache.servicemix.jsr181.xfire.JbiProxyFactoryBean$1.invoke(JbiProxyFactoryBean.java:76) at $Proxy0.findLectureXML(Unknown Source) at org.meinbeispiel.testxmlfile.TestXmlFileImpl.getSomeLecture(TestXmlFileImpl.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:54) at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocationHandler.java:322) at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:86) at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHandler.java:134) at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:109) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64) at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38) at org.apache.servicemix.jsr181.Jsr181ExchangeProcessor.process(Jsr181ExchangeProcessor.java:113) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441) at org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:595) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:619) Caused by: org.codehaus.xfire.XFireException: Error sending jbi exchange at org.apache.servicemix.jsr181.xfire.JbiChannel.send(JbiChannel.java:155) at org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26) ... 32 more Caused by: java.lang.NullPointerException: text can not be null at org.apache.servicemix.jbi.jaxp.StringSource.<init>(StringSource.java:42) at org.apache.servicemix.jsr181.xfire.JbiChannel.send(JbiChannel.java:136) ... 33 more DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase send DEBUG - HandlerPipeline - adding handler [EMAIL PROTECTED] to phase user DEBUG - HandlerPipeline - Invoking phase post-invoke DEBUG - HandlerPipeline - Invoking phase policy DEBUG - HandlerPipeline - Invoking phase user DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.jaxws.handler.WebFaultHandler in phase user DEBUG - HandlerPipeline - Invoking phase transport DEBUG - HandlerPipeline - Invoking phase send DEBUG - HandlerPipeline - Invoking handler org.codehaus.xfire.fault.FaultSender in phase send DEBUG - jetty - resume continuation [EMAIL PROTECTED] DEBUG - jetty - REQUEST /MeinBeispiel/ on [EMAIL PROTECTED] DEBUG - jetty - servlet=jbiServlet DEBUG - jetty - chain=null DEBUG - jetty - servelet holder=jbiServlet DEBUG - jetty - RESPONSE /MeinBeispiel/ 400 DEBUG - jetty - continuation [EMAIL PROTECTED] Thanks, Berny -- View this message in context: http://www.nabble.com/Issues-with-simple-proxy-scenario-tf4022130s12049.html#a11425715 Sent from the ServiceMix - User mailing list archive at Nabble.com.
