Skip to Content
0

File(Base64) to SOAP Async Scenario in PI 7.0

Dec 05, 2016 at 07:26 AM

79

avatar image
Former Member

Hi All

Requirement: If Point 1 not possible on PI 7.0 then we have to implement point 2

-----------------------------------------------------------------------------------------------------------------

Point1: Where PI has to pick PDF file from AL11 and encode it to Base64 then pass it to one of the field in WSDL.

In my other project we are using Java mapping which executes successfully on PI 7.11 and converts any input file to Base64.Our JDK version is 1.5 so we have compiled jar file on 1.5 in NWDS.

Now the issue is on PI 7.0 with JDK 1.3.I have compiled same program on jdk 1.3 and when try to export it throws Syntax error while reading

import javax.xml.bind.DatatypeConverter;

Please let me know what could be the issue?

Can you please help me out with any UDF for Base64 conversion?

-----------------------------------------------------------------------------------------------------------------------

Point2: Pick Base64 encoded file from AL11 and pass it to one of the field in WSDL.

From SDN

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=60653713

I found that we need Java mapping to pass entire file to a single field of Source structure and map it to Target WSDL.

When I RUN java program same issue with jdk 1.3 it throws syntax error for few import classes.Where as same java program will not throw any error with Jdk 1.6.

Thanks in advance!!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Manoj K Dec 05, 2016 at 05:59 PM
0

you get import erros in 7.0 because of the all standard jars are not available in 7.0 which were later included in 7.1> .

So take the missing jars and import them as imported archives in 7.0 along with your java mappings.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 07, 2016 at 07:59 AM
0

Thank you Manoj I will try this and let you know the result.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 09, 2016 at 08:36 AM
0

Hi Manoj

How can we import multiple jars in Imported archive?

when I try to import second jar file it is replacing first one.Please guide me.

Regards

anitha

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Did u try to create a multiple imported archives ? Dont replace the existing one

0