UFT Webservices error
Question ID: 104889
1
0

I get the following error when trying to test my webservice. I’m not sure what is causing the issue.

Object reference not set to an instance of an object. at HP.WcfRouter.XMLHandlerUtil.HandleAttributeOfNode(XmlNode node, XmlWriter writer) at HP.WcfRouter.XMLHandlerUtil.handleNode(XmlNode node, XmlWriter writer) at HP.WcfRouter.XMLHandlerUtil.HandleChildrenOfNode(XmlNode node, XmlWriter writer) at HP.WcfRouter.XMLHandlerUtil.handleNode(XmlNode node, XmlWriter writer) at HP.WcfRouter.MtomBodyReserializer.OnWriteBodyContents(XmlDictionaryWriter writer) at System.ServiceModel.Channels.BodyWriter.OnCreateBufferedCopy(Int32 maxBufferSize, XmlDictionaryReaderQuotas quotas) at System.ServiceModel.Channels.BodyWriter.OnCreateBufferedCopy(Int32 maxBufferSize) at System.ServiceModel.Channels.BodyWriter.CreateBufferedCopy(Int32 maxBufferSize) at System.ServiceModel.Channels.BodyWriterMessage.OnCreateBufferedCopy(Int32 maxBufferSize) at System.ServiceModel.Channels.Message.CreateBufferedCopy(Int32 maxBufferSize) at HP.WcfRouter.Utils.GetMessageCopy(Message& msg) at HP.WcfRouter.WcfRouter.DoRequestInternal(Boolean isOneWay, Dictionary`2 context)

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on March 11, 2013 5:29 pm
73 views
Answers (2)
2
Private answer

I would recommend trying UFT 11.5x SP2 to see if this solves your issues.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on June 26, 2013 1:57 pm
0
Private answer

I was able to resolve the above issue. There was an error with the way UFT was handling the encoding of the data. Once I specified a MIME/DIME Type that error was no longer occuring

I did start getting the following error but it was do to the way my organization set up the web service. It does not occur in SOAPUI.

Step 'createDocument' : Data at the root level is invalid. Line 2, position 1.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on July 23, 2013 3:19 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top