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 » Problem within Webservice caller flow

Post new topic  Reply to topic
 Problem within Webservice caller flow « View previous topic :: View next topic » 
Author Message
bullaydin
PostPosted: Wed Jul 04, 2007 7:55 am    Post subject: Problem within Webservice caller flow Reply with quote

Apprentice

Joined: 16 Feb 2006
Posts: 25
Location: Germany

Hi all,

I have problem within a web service caller flow. It is just a standart implementation of web service callling example...

After HTTP Request node occurs error and receiving the following SOAP Message.

Quote:
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">nbrz1-tuxtest</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>


Actually I have changed the CCSID into 1208 in a compute node before HTTP Request but it doesn't help . I don't know how I can solve this problem . Do you have any solution or idea ?

Perhaps trace helps:

Quote:
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-07-04 15:27:17.640'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = 'text/xml;charset=utf-8'
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'Q.VAS.RS.ICX.REQUEST'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 273
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'c1d4d840d8d44be5c1e24bc4c5c6c1e44688be2a20010302'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'QM.VAS.DEFAULT '
(0x03000000):UserIdentifier = ' '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 8
(0x03000000):PutApplName = '014022/VASBATST/QPADEV000S '
(0x03000000):PutDate = DATE '2007-07-04'
(0x03000000):PutTime = GMTTIME '15:27:17.640'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000000):XMLNSC = (
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Envelope = (
(0x03000102)http://www.w3.org/2000/xmlns/:xsi = 'http://www.w3.org/2001/XMLSchema-instance'
(0x03000102)http://www.w3.org/2000/xmlns/:xsd = 'http://www.w3.org/2001/XMLSchema'
(0x03000102)http://www.w3.org/2000/xmlns/:soapenv = 'http://schemas.xmlsoap.org/soap/envelope/'
(0x03000102)http://www.w3.org/2000/xmlns/:sper = 'http://webapps.uta.de/reg/sperren'
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Header =
(0x01000000)http://schemas.xmlsoap.org/soap/envelope/:Body = (
(0x01000000)http://webapps.uta.de/reg/sperren:SperreignisseVASCustStopMelden = (
(0x03000100)http://schemas.xmlsoap.org/soap/envelope/:encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/'
(0x03000000):Issuer_No = '11111'
(
(0x03000100)http://www.w3.org/2001/XMLSchema-instance:type = 'xsd:string'
)
(0x03000000):CustNo = '44444'
(
(0x03000100)http://www.w3.org/2001/XMLSchema-instance:type = 'xsd:string'
)
)
)
)
)
(0x01000000):HTTPRequestHeader = (
(0x03000000):SOAPAction = 'http://webapps-ewl.testting.de/ucc/covus-services/methode1'
(0x03000000):Host = '192.168.1.1'
(0x03000000):Content-Type = 'text/xml;charset=utf-8'
)
)
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-07-04 15:34:15.161656'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = 'text/xml;charset=utf-8'
)
(0x01000000):HTTPRequestHeader = (
(0x03000000):Content-Length = '128'
(0x03000000):SOAPAction = 'http://webapps-ewl.testting.de/ucc/covus-services/methode1'
(0x03000000):Host = '192.168.1.1'
(0x03000000):Content-Type = 'text/xml;charset=utf-8'
)
(0x01000000):HTTPResponseHeader = (
(0x03000000):X-Original-HTTP-Status-Line = 'HTTP/1.1 500 Internal Server Error'
(0x03000000):X-Original-HTTP-Status-Code = 500
(0x03000000):Server = 'Apache-Coyote/1.1'
(0x03000000):Content-Type = 'text/xml;charset=utf-8'
(0x03000000):Date = 'Wed, 04 Jul 2007 15:35:05 GMT'
(0x03000000):Connection = 'close'
)
(0x01000000):BLOB = (
(0x03000000):UnknownParserName = ''
(0x03000000):BLOB = X'3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d227574662d38223f3e3c736f6170656e763a456e76656c6f706520786d6c6e733a736f6170656e763d22687474703a2f2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f2220786d6c6e733a7873643d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e7374616e6365223e0a203c736f6170656e763a426f64793e0a20203c736f6170656e763a4661756c743e0a2020203c6661756c74636f64653e736f6170656e763a5365727665722e75736572457863657074696f6e3c2f6661756c74636f64653e0a2020203c6661756c74737472696e673e6f72672e786d6c2e7361782e5341585061727365457863657074696f6e3a20436f6e74656e74206973206e6f7420616c6c6f77656420696e2070726f6c6f672e3c2f6661756c74737472696e673e0a2020203c64657461696c3e0a202020203c6e73313a686f73746e616d6520786d6c6e733a6e73313d22687474703a2f2f786d6c2e6170616368652e6f72672f617869732f223e6e62727a312d747578746573743c2f6e73313a686f73746e616d653e0a2020203c2f64657461696c3e0a20203c2f736f6170656e763a4661756c743e0a203c2f736f6170656e763a426f64793e0a3c2f736f6170656e763a456e76656c6f70653e'
)
)




thanks for your help...
_________________
*************************

" Sharing knowledge better than having it ."

http://www.openpoint.de
Back to top
View user's profile Send private message Visit poster's website
bullaydin
PostPosted: Sun Jul 08, 2007 10:29 pm    Post subject: solved Reply with quote

Apprentice

Joined: 16 Feb 2006
Posts: 25
Location: Germany

HI all,

i have seen that there is a SOAP SupportPAC which includes two SOAP nodes to extract Body and create Envelope automatically. I've implemented two new nodes in my WS Caller flow and runs everything OK .


have a nice week..
_________________
*************************

" Sharing knowledge better than having it ."

http://www.openpoint.de
Back to top
View user's profile Send private message Visit poster's website
mgk
PostPosted: Mon Jul 09, 2007 4:36 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Hi.

Your trace output shows that you have created an HTTPRequestHeader AFTER your XMLNSC parser. Therefore, this is being sent as the body of the message from the HTTPRequest Node. The Request Node always treats the "last child of root" as the "body" of the message to be sent on the wire. You need to re-order your code (ESQL or Java) to create the HTTPRequestHeader before the XMLNSC body that you are trying to send...

Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » Problem within Webservice caller flow
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.