cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP TO FTP Developement

former_member303666
Active Participant
0 Kudos

Hi all,

I have one requirement.

1.  .net system sending the data to FTP via sap pi system.

2.They provided one url for downloding the structure. i have download the strucure from provided link as wsdl format and imported under the external defination.

Through getBYID thay are sending the below structure from .net system.

<ContractObject>

  <Contract>

    <ContractID>1</ContractID>

    <Name>S-0360-001</Name>

    <Description>BALLOON DUCT</Description>

    <StatusID>1</StatusID>

    <IsArchived>0</IsArchived>

    <CustomerID>1781</CustomerID>

    <LocationID>47</LocationID>

    <AddressID>830</AddressID>

    <ContractLine4 />

    <DefaultPaintFinish />

    <Weight>55953.9284549</Weight>

    <Area>1699.7000694280002</Area>

    <SiteDeliveryDate>2013-03-15T00:00:00+05:30</SiteDeliveryDate>

    <CompletionDate>2013-02-25T00:00:00+05:30</CompletionDate>

    <CadPath>C:\Users\clindm\Desktop\BALLOON DUCT\new rev\EHES</CadPath>

    <CamPath>C:\Program Files\AceCad Software Ltd\StruM.I.S.NET\Work\%CONTRACT%\CAM-NC</CamPath>

    <AddOffcutValue>true</AddOffcutValue>

    <AddScrapValue>true</AddScrapValue>

    <OffcutAllocationToContract>true</OffcutAllocationToContract>

    <StruCADPhaseAttributeName>PHASE</StruCADPhaseAttributeName>

    <StruCADLotAttributeName>USER10</StruCADLotAttributeName>

    <StruCADDescriptionAttributeName>DESC</StruCADDescriptionAttributeName>

    <StruCADPaintFinishAttributeName>FINISH</StruCADPaintFinishAttributeName>

    <StruCADPrelimAttributeName>PRELIM</StruCADPrelimAttributeName>

    <PhaseSource>1</PhaseSource>

    <LotSource>1</LotSource>

    <IndividualMarkTracking>true</IndividualMarkTracking>

    <IndividualMarkItemTracking>true</IndividualMarkItemTracking>

    <Notes>LAST DATE OF PO- 15-03-2013

ALL DOCUMENTS ATTACHED IN THE ATTACHMENTS FOR REFERENCE</Notes>

    <CreatedBy>clindm</CreatedBy>

    <CreatedOn>2012-12-14T16:41:22.06+05:30</CreatedOn>

    <UpdatedBy>strucad</UpdatedBy>

    <UpdatedOn>2013-01-09T17:27:49.513+05:30</UpdatedOn>

    <Version>112</Version>

    <CadUseDocumentManagement>false</CadUseDocumentManagement>

    <CamUseDocumentManagement>false</CamUseDocumentManagement>

    <StruWalkerUseDocumentManagement>false</StruWalkerUseDocumentManagement>

    <Line1>HINDALCO INDUSTRIES LIMITED</Line1>

    <Line2>(UNIT : BIRLA COPPER)</Line2>

    <Line3>P.O : DAHEJ</Line3>

    <Line4>BHARUCH</Line4>

    <PostCode>392130</PostCode>

    <ShowinOrdering>0</ShowinOrdering>

    <SiteAddressTelephone>+91 2641 256004-6</SiteAddressTelephone>

    <SiteAddressFax>+91 2641 251002-3</SiteAddressFax>

    <EnableCadSource>0</EnableCadSource>

  </Contract>

  <ContractPhase>

    <PhaseID>1</PhaseID>

    <ContractID>1</ContractID>

    <Name>1</Name>

    <Description>1</Description>

    <DefaultPhase>1</DefaultPhase>

    <FabricationDate>2012-12-14T00:00:00+05:30</FabricationDate>

    <ErectionDate>2012-12-14T00:00:00+05:30</ErectionDate>

    <CompletionDate>2012-12-14T00:00:00+05:30</CompletionDate>

    <Color>Color [A=255, R=255, G=190, B=159]</Color>

  </ContractPhase>

  <ContractInvoiceTotals>

    <TotalExpectedInvoiceValue>0</TotalExpectedInvoiceValue>

    <TotalActualInvoiceValue>0</TotalActualInvoiceValue>

    <TotalInvoiced>0</TotalInvoiced>

  </ContractInvoiceTotals>

</ContractObject>

SLD :

i have created product and software component.

ESR:

1.Imported software compont into ESR and created name space.

2.Under the name space imported wsdl file.

Q. how do achieve the mapping part with above structure. (provided structure).

ID:

Created Business component for sender and receiver third party systems. created 2 communication channels.

how ot achive this requirement from .net webebserver to FTP via PI system.

Thanks and regards,

Kesava.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Assuming the flow .Net application -->PI --> FTP.

Regarding mapping, structured you mentioned is your source structure for the mapping.

Check with your functional people regarding the target structure or prepare the questionnaire how the file should be saved to target FTP and prepare mapping design document.

>>how ot achive this requirement from .net webebserver to FTP via PI system.

go through below link http://scn.sap.com/people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi

former_member303666
Active Participant
0 Kudos

Thanks thanks for your replay,

Here requirement is like the below.

Function requirement: we have some services, PI middleware will call the serives for consume the data and place the file in ftp location.

My suggestions(SAP PI)

1.For above requirement i have created sender side i have mentioned SOAP Adopter and reveiver side FILE adopters.

2.i have developed the scenario as a SOAP ...> PI ...> FTP

3. i have generated WSDL file for consume the deat from webservices.

4.i peovided the wsdl url for sender SOAP side for getting the data.

=====

Functional side saying like that:

we don't have option for specifying WSDL link in third party system.  only link it self u have to consume the data.

http://************/TestStruMISClient/Default.aspx

basically pi consultant will provied the wsld link to third party for consume the data.

Here with out providing the WSDL to third party system, who can i get the data.

please telme, is there any other way for doing the scenario.

Thanks,

Kesava

Former Member
0 Kudos

Kesava,

In SOAP sender scenrio, it is the web service which post the data to PI server, it is not the PI which poll the data from sender third party.

Hence for the technical implemenmtation you need to provide WSDL to the third party & they need to implement the same at their end & use the end poitn as the target location (on PI server adapter engine with the communication channe name).

Rather than talking to functional ppl. set a call directly with third pary they have more idea about the technical details...Functional ppl can not much help you in this case

Regards,

Ashish

former_member303666
Active Participant
0 Kudos

Hi Ashish,

In SOAP sender scenrio, it is the web service which post the data to PI server, it is not the PI which poll the data from sender third party.

yes

Hence for the technical implemenmtation you need to provide WSDL to the third party & they need to implement the same at their end

this is the right way to getting the data from wsdl.

they are saying like this

They are not sending any data to PI system. PI need to consume the data for WEBserver.even they dont have any option to specify the WSDL url in sender Third party side.

how the data will come with out generation the wsdl link.

Is there any way implement the scenario

Regards,

Kesava

Former Member
0 Kudos

Is this SAP web server or their orwn web server?

Regards,
Ashish

Former Member
0 Kudos

Kwsava,

You can try SOAP adapter with transport protocol as Task(Axis) & message prtocol as AXIS.

Select the url as url of the web server. Rest of the setting you can do by refering the below blog from Michael.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/01/05/michals-pi-tips-exchange-rates-fr...

Regards,

Ashish

former_member303666
Active Participant
0 Kudos

Hi Ashish,

Not SAP WEBService. third party (other) webservice.

PI need to consume the data from that service.

theat service will not send the data to PI system. PI need to consume. that is what they asid.

Regards,

Kesava

Former Member
0 Kudos

Kesava,

Check my another reply by using the sender SOAP adapter with transport protocol as Task(Axis) & message prtocol as AXIS. 

Select the url as url of the web server. Rest of the setting you can do by refering the below blog from Michael.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/01/05/michals-pi-tips-exchange-rates-fr...

Regards,

Ashish

former_member303666
Active Participant
0 Kudos

Hi Ashish thank Q

WEBservice to PI .... need to creat any connceion for getting the data from webservice.

thanks,

Kesava.

smavachee
Active Contributor
0 Kudos

Few addition to above replies in case you are moving ahead with Axis. I am not aware about SAP PI version you are using, any way u can verify your Axis installation by going to:

http://<host>:<port>/XIAxisAdapter/MessageServlet

Also you may need to create the axisprovider.sda file as well.

Refer.. Sender Axis SOAP Adapter

Hope it helps.!

Regards,
Sunil

former_member303666
Active Participant
0 Kudos

Hi Sunil,

I am not aware about SAP PI version you are using

SAP PI 7.1

Regards,

Kesava.

smavachee
Active Contributor
0 Kudos

You can optionally use the Axis framework in the SOAP adapter.  To use the Axis framework in the SOAP adapter, you will need few Axis JAR files..

Refer help documents for more details..

SAP Library - Configuring the SOAP Adapter

Hope it helps.!

Regards,

Sunil

Former Member
0 Kudos

Kesava,

Ask you functional folks to provide you mapping designing document which will have logic of which source field shd mapped to which target segment with logic (if applied)

Based on that you can create message mapping

Regards,

Ashish