Hi all,
I have an intermittent issue with invoking Spring web services.
I have a scenario where all the webservices requests go though
Java Proxy here is our own implementation of TCP/IP packet forwarder which listens on particular port and forwards the request to tomcat.Code:Apache webserver --> Java Proxy --> tomcat
i am able to get the response 6 out of 10 times.
other times i am getting the SOAP fault message and inside the tomcat server i can see the following error.
i am using spring 2.5.6, spring ws 1.5.7.Code:SEVERE: SAAJ0511: Unable to create envelope from given source
i am using jdom to create the response.
below is my config file content.
i don't have any problem invoking the Axis2 webservices under the same scenario of webserver --> Java Proxy --> tomcatCode:<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping "> <property name="mappings"> <props> <prop key="{my namespace}userRequest">userEndPoint</prop> </props> </property> <property name="interceptors"> <bean class="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor" /> </property> </bean> <bean id="user" class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition"> <property name="builder"> <bean class="org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder"> <property name="schema" value="xsd file location" /> <property name="portTypeName" value="user" /> <property name="" value="service location url" /> </bean> </property> </bean>
Please advice.


Reply With Quote
