RMG or someone,
Please help.
Regards,
Roger
RMG or someone,
Please help.
Regards,
Roger
Roger,
What is the receiving service input you set?I believe you have set it node object this will be in the pipeline unless you set the content-type=“text/xml”.Since you are ftping from command prompt directly to the ns of the service, set the contentStream(stream object)and the steps will be streamTobytes,bytestoString,stringToDocument,documentToRecord and further mapping IDOC transforming services.
Please test with the above input and debug the pipeline with getTransportInfo service.
HTH,
RMG.
RMG,
Thanks for the reply.
My receiving flow service is as follows.
I created the first step using create new service to receive an XML file.
I appreciate your help.
Regards,
Ramesh
Actually your error shows that transformHierarchyToFlat is getting nullpointer exception while parsing to IDOC structure.So please step thru the mapping flow before you map to the transform service whether the created IDOC structure is in expected shape based on the IDOC schema.
HTH,
RMG.
Also check whether the inputs to the transform service is correctly mapped or if something missing.
RMG,
Please let me know How to step through this process when FTPing the file from command prompt?
After my documentToRecord step, I have a loop step. My loop step is as follows
Loop over ‘/ship_conf/ALS/SHIPCONFIRM/HEADER’
–Map a field from Header (order number) to IDOC (DELVRY03/DELVRY03/IDOC/E1EDL20-VBELN).
Thanks,
Roger
Once after the documentToRecord process are you seeing the XML Document structure(boundNode)extracted with xml data?
You put the savepipeline before the documentToRecord service and run the ftp which your new service will be invoked which receives the xml as you said.Once it hits the second service the data will be saved in the pipeline.So do restorepipeline and step thru the flow starting from documentToRecord step.
HTH,
RMG
RMG,
It worked.
Thanks,
Roger