ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Getting Exception when sending the request to SoapRequest

Post new topic  Reply to topic
 Getting Exception when sending the request to SoapRequest « View previous topic :: View next topic » 
Author Message
Michaelscof
PostPosted: Mon Jun 20, 2011 6:46 am    Post subject: Getting Exception when sending the request to SoapRequest Reply with quote

Novice

Joined: 12 Nov 2009
Posts: 10

HI,

Could you please help me out for the below exception that I am getting when sending request to the webservice.

mqinput ---> Compute --> SoapRequest node..

Input Message:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:ver="http://www.multispeak.org/Version_3.0">
<soap:Header>
<ver:MultiSpeakMsgHeader Version="?" UserID="?" Pwd="?"
AppName="?" AppVersion="?" Company="?" CSUnits="feet"
CoordinateSystem="?" Datum="?" SessionID="?" PreviousSessionID="?"
ObjectsRemaining="?" LastSent="?"/>
</soap:Header>
<soap:Body>
<ver:GetLatestReadingByMeterNo>
<!--Optional:-->
<ver:meterNo>12345678911</ver:meterNo>
</ver:GetLatestReadingByMeterNo>
</soap:Body>
</soap:Envelope>

Below is the code that I am using to send the meterId to the webservice request:

DECLARE ns namespace 'http://www.multispeak.org/Version_3.0';
SET OutputRoot.XMLNSC.ns:GetLatestReadingByMeterNo.ns:meterNo =
InputRoot.XMLNSC.onDemandReadRequest.METER_ID;

When I debug the flow I am getting the below exception :

Severity:INTEGER:3
Number:INTEGER:5010
Text:CHARACTER:XML Writing Errors have occurred
ParserException
File:CHARACTER:/build/S700_P/src/MTI/MTIforBroker/GenXmlParser4/ImbXMLNSCWriter.cpp
Line:INTEGER:889
Function:CHARACTER:ImbXMLNSCWriter::writeMisc
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:5016
Text:CHARACTER:Unexpected XML type at this point in document.
Insert
Type:INTEGER:5
Text:CHARACTER:GetLatestReadingByMeterNo
Insert
Type:INTEGER:5
Text:CHARACTER:folderType

Please help me on this .. Thanks in advance.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jun 20, 2011 7:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Try adding a SoapEnvelope to your tree.

May help if you pull out one of the SOAP examples to see how it is done.

Have you attended the WMB developer's course?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Mon Jun 20, 2011 11:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lancelotlinc wrote:
Have you attended the WMB developer's course?


Training!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Michaelscof
PostPosted: Mon Jun 20, 2011 11:52 am    Post subject: Reply with quote

Novice

Joined: 12 Nov 2009
Posts: 10

It working now. I construct the OutputRoot when I am sending the request to webservice. Now request parameter is going to webservice. Seems to the problem was resolved.

Now webservice is down. I need to test my flow when it is up..Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Getting Exception when sending the request to SoapRequest
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.