Contributions
Re: DeserializationFailed Error when Submitted the SOAP Request
Hi, nmrao According to your 3rd point 3. At times, if an optional element is not present which ok, but the element is present value presented like ?, then it may not be valid. in the xml with the previous tool I used to pass only 2 values(Branch and Order). But with SOAP UI ,I need to pass inputs for all the optional elements. When I pass only two mandatory values and validate then it is giving errors like "invalid decimal value","invalid date value" etc . Even I have changed the preferences .But nothing is worked.26KViews0likes0Comments- 21KViews0likes1Comment
Re: Unable to get the Response in SOAP UI..
Hi Rao, Thank you for your response. I Removed the jars as you said but still facing same issue. Dont know what went wrong. using another tool From that tool I can able to get the response from that tool.But when I do the same thruSOAP UI ,the response is "<missing raw response data>" . I have automated around 50 methods and none of those are working now. I haven't changed anything in the SOAP UI settings. Suddenly they stopped working. Please help me.Strucked over here.21KViews0likes4CommentsRe: Unable to get the Response in SOAP UI..
Hinmrao It's working now. I have changed WS-A Addressing related settings for SOAP Request.It is like below. In every SOAP Request,WS-A settings needs to be changed.In WS-A, need to check the checkboxes "Enable WS-A Addressing" and "Add Default wsa To". Thank you.22KViews0likes0CommentsRe: Unable to get the Response in SOAP UI..
I was able to get the response from other tool.I am sending the same parameters thru SOAP UI. But it is giving nothing in the response.There is no problem with the Application. Here is the Errorlog of SOAP UI: Mon Dec 07 14:06:21 IST 2015:ERROR:java.net.SocketTimeoutException: Read timed out java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149) at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110) at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264) at org.apache.http.impl.conn.LoggingSessionInputBuffer.readLine(LoggingSessionInputBuffer.java:115) at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98) at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252) at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281) at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247) at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doReceiveResponse(HttpClientSupport.java:147) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125) at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:633) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:454) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:233) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:323) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:290) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:220) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:119) at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:79) at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:217) at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:364) at com.eviware.soapui.model.testsuite.TestStep$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at Script1$_run_closure1.doCall(Script1.groovy:13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:909) at groovy.lang.Closure.call(Closure.java:411) at groovy.lang.Closure.call(Closure.java:427) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1325) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:1297) at org.codehaus.groovy.runtime.dgm$148.invoke(Unknown Source) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at Script1.run(Script1.groovy:7) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:141) at com.eviware.soapui.impl.wsdl.panels.teststeps.GroovyScriptStepDesktopPanel$RunAction$1.run(GroovyScriptStepDesktopPanel.java:250) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Here is SOAP UI Log: Mon Dec 07 14:03:54 IST 2015:INFO:initialized soapui-settings from [C:\Users\Ravindra Reddy\soapui-settings.xml] Mon Dec 07 14:04:02 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar] Mon Dec 07 14:04:02 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar] Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Mon Dec 07 14:04:03 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-mqtt-plugin-dist.jar] Added AutoFactory for [PluginPrefs] Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Mon Dec 07 14:04:03 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:03 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar] Mon Dec 07 14:04:04 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Mon Dec 07 14:04:04 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:04 IST 2015:INFO:4 plugins loaded in 2184 ms Mon Dec 07 14:04:04 IST 2015:INFO:All plugins loaded Mon Dec 07 14:04:04 IST 2015:INFO:initialized soapui-settings from [C:\Users\Ravindra Reddy\soapui-settings.xml] Mon Dec 07 14:04:05 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-uxm-plugin-1.0.1-dist.jar] Mon Dec 07 14:04:05 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\soapui-swagger-plugin-2.2-dist.jar] Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Added AutoFactory for [PluginPrefs] Mon Dec 07 14:04:06 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:06 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\ready-mqtt-plugin-dist.jar] Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginPanelBuilder] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Added AutoFactory for [PluginTestStep] Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:07 IST 2015:INFO:Adding plugin from [C:\Users\Ravindra Reddy\.soapuios\plugins\readyapi-swaggerhub-plugin-1.0.jar] Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoDiscoveryMethodFactory], see error log for details Mon Dec 07 14:04:07 IST 2015:ERROR:An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details Mon Dec 07 14:04:07 IST 2015:INFO:4 plugins loaded in 1880 ms Mon Dec 07 14:04:07 IST 2015:INFO:All plugins loaded21KViews0likes6CommentsUnable to get the Response in SOAP UI..
Hi.. I am unable to get the response when I have executed the request thru SOAP UI tool. The other services are working fine. Don't know what is wrong. The same Service which I am testing is working fine in other tool.It is giving proper response. When I execute the request ,after certain amount of time it is giving "<missing raw response data>". Can anyone give me solution for this.????Solved22KViews0likes9CommentsRe: DeserializationFailed Error when Submitted the SOAP Request
Thank You @nmrao , It's working now. I need to pass so many input values which is unlike the tool that I have used earlier. That took only two input values to give the response but whereas SOAP UI took near about 12-15 input values which are even optional. Is there any option SOAP UI avoid this.26KViews0likes2CommentsRe: DeserializationFailed Error when Submitted the SOAP Request
I am giving the proper input .But thething is that there is an xml tag<tas:request ser:Id="?" ser:Ref="?"> which consists ser:ID and Ref .Dont know what values I need to pass over here.So I have given ser:Id="0" and removed ser:Ref and now I am getting another error "The value '?' cannot be parsed as the type 'DateTime'." at System.Xml.XmlConverter.ToDateTime(String value) at System.Xml.XmlConverter.ToDateTime(Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlBaseReader.ReadContentAsDateTime() at System.Xml.XmlDictionaryReader.ReadElementContentAsDateTime() at ReadOrderPayPalFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] ) at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Int32 id, RuntimeTypeHandle declaredTypeHandle, String name, String ns) at ReadOrderPayPalRequestFromXml(XmlReaderDelegator , XmlObjectSerializerReadContext , XmlDictionaryString[] , XmlDictionaryString[] ) at System.Runtime.Serialization.ClassDataContract.ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns) at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) There is a tag withCreateDateTime which is not mandatory.So I don't need to giveany input for this.When I place the same request thru WCF Storm it is giving the proper response and not giving any parsing error.There is a default value 01:01:0001 00:00:00 in WCF Storm but in SOAP UI there is no default value like this. How can I solve this? When the same thing is working with another then why not with SOAP UI?26KViews0likes4CommentsDeserializationFailed Error when Submitted the SOAP Request
Hi, Can anyone solve this issue? When Submitted the SOAP Request there is a Deserialization error "Deserialized object with reference id '?' not found in stream." I am not able to understand why I am getting this exception.When I did the same thing from another tool ,it is working fine .I am able to get the response. The XML which is generated in SOAP UI contains "<tas:request ser:Id="?" ser:Ref="?">". what are these? What should I pass over here.? The error details are below <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <s:Fault> <faultcode xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:DeserializationFailed</faultcode> <faultstring xml:lang="en-GB">The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter .The InnerException message was 'Deserialized object with reference id '?' not found in stream.'. Please see InnerException for more details.</faultstring> <detail> <ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <HelpLink i:nil="true"/> <InnerException> <HelpLink i:nil="true"/> <InnerException i:nil="true"/> <Message>Deserialized object with reference id '?' not found in stream.</Message> <StackTrace>at System.Runtime.Serialization.XmlObjectSerializerReadContext.GetExistingObject(String id, Type type, String name, String ns) at System.Runtime.Serialization.XmlObjectSerializerReadContext.TryHandleNullOrRef(XmlReaderDelegator reader, Type declaredType, String name, String ns, Object& retObj) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract) at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns) at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver) at System.Runtime.Serialization.DataContractSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName) at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.PartInfo.ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer) at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)</StackTrace> <Type>System.Runtime.Serialization.SerializationException</Type> </InnerException> <Message>The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter .The InnerException message was 'Deserialized object with reference id '?' not found in stream.'. Please see InnerException for more details.</Message> <StackTrace>at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest) at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, Object[] parameters, Boolean isRequest) at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest) at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest) at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeRequest(Message message, Object[] parameters) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc& rpc) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace> <Type>System.ServiceModel.Dispatcher.NetDispatcherFaultException</Type> </ExceptionDetail> </detail> </s:Fault> </s:Body> </s:Envelope>Solved26KViews0likes6Comments