Académique Documents
Professionnel Documents
Culture Documents
html)
Get Started (http://go.sap.com/community/getting-started.html)
Solutions (http://go.sap.com/solution.html)
(https://onedx.find.sap.com)
Support (http://go.sap.com/support.html)
Training (http://go.sap.com/training-certication.html)
Community (http://go.sap.com/community.html)
Developer (http://go.sap.com/developer.html)
Partner (http://go.sap.com/partner.html)
About (http://go.sap.com/about.html)
Community (http://go.sap.com/community.html)
Answers(/questions/index.html)
/ Questions&
Actions
/ ErroronmappingSAP>PI>SOAP
SAPProcessIntegration(/tags/01200615320800000719)
ErroronmappingSAP>PI>SOAP
Hello,
I'mtryingtocreateainterfacetogetaXMLfromawebsite,I
managedtogettothewebsitethroughaSOAPreceiveradapter,but
nowI'mgettingtheerror
WriteaBlogPost(https://blogs.sap.com/w
AskaQuestion(https://answers.sap.com
SendaDirectMessage(https://message
(/Users/49773/Marcelom
MarceloMBovo
(/Users/49773/Marcelombovo.Html
Runtimeexceptionoccurredduringapplicationmapping
com/sap/xi/tf/_mm_XXXXXXXXXX_Resp_Out_In_;
com.sap.aii.utilxi.misc.api.BaseRuntimeException:FatalEr
ror:
com.sap.engine.lib.xml.parser.ParserException:XMLParser:
Nodataallowedhere(:main:,row:2,col:2)
Idon'tknowifmymappingisright,IgottheXMLfromthewebsite
andcreateaXSDfortheESR
Mymappingis:
Jan13at04:13PM
0
12
Actions
WhiletheactionXMLis
OnethingI'mnotsureistheSOAPActioneldonSOAPchannel,I'm
leavingitblankwhilethewholeURLisbeingpassedthroughaUDF.
Isthereawaytoseethecontentthechannelisreceiving?Itryed
RWB,SXI_MONITORandXPIInspectorbutIcoudntseenothing.
Idon'tknowifthis"Body"isrelatedtomyinbound
Thanksinadvance
mapping.jpg(/storage/attachments/15309mapping.jpg)(247.3
kB)
ihnk6t3.jpg(/storage/attachments/15331ihnk6t3.jpg)(30.7kB)
insp.jpg(/storage/attachments/15333insp.jpg)(210.7kB)
SAPNetWeaverProcessIntegration,adapters(/tags/01200615320800001376) |sappi
(/topics/sap+pi.html) | mapping(/topics/mapping.html) | soapreceiver
(/topics/soap+receiver.html)
Submityouranswer
Comment
Follow
AlertModerator
1 Reply
Sortby: Votes
Jan13at05:00PM
AndrzejFilusz(/Users/4108/Andrzejfilusz.Html)Answered
(/users/4108/andrzejlusz.html)
HiMarcelo,
AsIunderstoodtheproblemisthatyourexternalWebServicesendsyouaTEXT/HTMLpage
asaresponse(insteadofXMLcontent).ThereasonofthatmaybeanincorrectURLoran
incorrectrequestmessage.
CouldyoucheckwithSoapUIthatyoucanconnectsuccessfullywithyourWebService?
ToseethecontentoftheresponsepleaseuseXPIInspector(choose:50(XIChannel)and
addyourcommunicationchannel).
Bestregards,
Andrzej
Comment Share Alert
Moderator
MarceloMBovo(/users/49773/marcelombovo.html)
Jan16at10:40AM(/comments/104819/view.html)
(/users/49773/marcelombovo.html)
I'veseenthatandIthinkitsveryweirdbecauseonSoapUIthecontenttypeisXML,look
whatIgetfromthere
HTTP/1.1200OK
CacheControl:private
ContentType:text/xml
ContentEncoding:gzip
Vary:AcceptEncoding
Server:MicrosoftIIS/8.0
XAspNetVersion:4.0.30319
XPoweredBy:ASP.NET
Date:Mon,16Jan201710:37:17GMT
ContentLength:13618
<?xmlversion="1.0"encoding="utf8"?>
<DataInfoHost="SAAS10"User="XXXX"Auth="Blo9lM8eGC0yYAcvMRarLDg"..
...
I'musingRESTprojectonSoapUI
Like 0 Comment Share Alert
Moderator
AndrzejFilusz(/users/4108/andrzejfilusz.html)
andrzej.filusz
Jan16at02:52PM(/comments/105111/view.html)
(/users/4108/andrzejfilusz.html)
Jan16at02:52PM(/comments/105111/view.html)
Marcelo,youwroteyousendyourURLthroughaUDF.
CouldyoucopytheURLfromyourlogandpasteittotheSoapUIandthentestit?I
wanttomakesurethatyourUDFgeneratesthecorrectURLs.
Regards,
Andrzej
Like 0 Comment Share Alert
Moderator
ALFREDOMACHADONETO(/users/46337/amneto
01.html)
amneto_01
Jan16at04:14PM(/comments/105137/view.html)
(/users/46337/amneto
01.html)
Thanksfortheanswer
ThelogonXPIis
16:43:18:261
J2EE_GUEST
~logix_SOAP_IN/Srv_XXXXXX/]_86467
~pl.ModuleContextImpl.getContextData
Exitingmethodwithhttp://saas10.XXXXXX.com/web/query.axd?
format=xml&machines=all&type=coredatat=20170102
(http://saas10.XXXXXX.com/web/query.axd?
format=xml&machines=all&type=coredatat=20170102)
Thenfurtherthereis
16:43:18:314J2EE_GUEST
~logix_SOAP_IN/Srv_XXXXXX/]_864
~dk.xi.net.HTTPClientConnection.callCallingendpoint:http:
//USER%3APASSWORD@saas10.XXXXXX.com
(mailto://USER%3APASSWORD@saas10.XXXXXX.com)/web/query.axd?
format=xml&machines=all&type=coredatat=20170102
IGotthisURLanditsworkingneonSoapUIorChrome
Like 0 Comment Share AlertModerator
Actions
AndrzejFilusz(/users/4108/andrzejfilusz.html)
andrzej.filusz
Jan16at05:16PM(/comments/105199/view.html)
(/users/4108/andrzejfilusz.html)
ButdidyoureproduceyourscenarioinSoapUI?Youwroteyou
wereusingaSOAPreceiveradapter.SodidyoucreateaSoap
projectinSoapUI?AnddidyouusetheURLandtherequest
messagefromyourlog?Whatwastheresponse?AcorrectXML
message?
Regards,
Andrzej
Like 0 Comment Share Alert
Moderator
MarceloMBovo
(/users/49773/marcelombovo.html)
marcelom.bovo
(/users/49773/marcelombovo.html)
Jan16at05:28PM(/comments/105227/view.html)
YesIreproduceditanditwasreplyedmewiththecorrect
XML,thedatafrommyrstreplytoyouisarawfrom
SoapUI.
I'musingRestprojectbecauseitdoesn'thaveaWDSL,
it'sasimplewebsiterequestlikethisone
https://voip.ms/rates/xmlapi.php?
dest=United%20States
(https://voip.ms/rates/xmlapi.php?
dest=United%20States).FirstIwoulduseanHTTP
adapter,butanotheruseradvisedmethatHTTPadapter
doesn'tsupportdynamicURLandaSOAPchannelcould
beusedinthisscenario(justdisablingSOAPenvelopeon
thechannel),thatswhatIdid
Thanks
Like 0 Comment Share Alert
Moderator
AndrzejFilusz
(/users/4108/andrzejfilusz.html)
andrzej.filusz
(/users/4108/andrzejfilusz.html)
Jan16at06:45PM(/comments/105265/view.html)
1.Youdidn'treproduceyourscenariocosyou
usedaRESTproject,notaSOAPproject(butI
understoodwhy).
2.IsyourwebsiteaSOAPWebService?Ifnot,
I'mnotsureifthissolutionwouldwork.You
checked"DoNotUseSOAPEnvelope"optionin
yourcommunicationchannel.In"a
normal/standardscenario"it'syourjobto
createaSOAPenvelope.ButasIunderstood,in
yourcaseyoudon'tneedit.
3.Areyousurethatyoucan'tuseaHTTP
adapter?Youcandynamicallyspecifymany
parameters.
4.Haveyouseenthat?
https://blogs.sap.com/2012/01/05/michalspi
tipsexchangeratesfromanxmlleonaweb
pagerestaxis/
(https://blogs.sap.com/2012/01/05/michals
pitipsexchangeratesfromanxmlleona
webpagerestaxis/)
Regards,
Andrzej
Like 0 Comment Share Alert
Moderator
Your answer
Fillinthedetails...
Submityouranswer
(https://twitter.com/sapcommnet)
(https://www.linkedin.com/company/sap)
(https://instagram.com/sap/)
(http://www.slideshare.net/SAP)
Privacy(http://go.sap.com/about/legal/privacy.html) TermsofUse(http://go.sap.com/corporate/en/legal/termsofuse.html) Legal
Disclosure(http://go.sap.com/about/legal/impressum.html) Copyright(http://go.sap.com/about/legal/copyright.html) Trademark
(http://go.sap.com/about/legal/trademark.html) Sitemap(http://www.sap.com/sitemap/index.html) Newsletter
(https://go.sap.com/registration/newsletter.html)