cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Assign reference document.

Former Member
0 Kudos

Hi all,

I defined transaction input parameter type Xml.

I used Reference Document Loader to load document (structure.xml) below.

<?xml version="1.0" encoding="UTF-8"?>

<SO_VALIDATION>

<L4_SO_ID/>

<L4_SOI_NO/>

<PPC_STATUS/>

<PPC_INFO/>

</SO_VALIDATION>

I used menu command Assign Reference Document, to assign above document to transaction input.

I tryed to use this transaction in vs.net application as a web service.

But there is no xml structure in InputParams in web service.

I tryed alot but i did not achieve.

What must i do?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

cml_bzl,

I'm using version 12.04 and I have not had any problems with assigning reference documents and using .NET.

You should not have to do anyting special to get the transaction inputs to show up in .Net. To map the output I do the following:

1. Create an output transaction variable and assign it's type as XML

2. Using a XML document block to create and XML document for your output transaction variable

3. Assign the XML document as the reference for the output transaction variable.

THis works for me every time. If you change the transaction parameters, make sure you update the web service form the .NET side.

Glenn

Former Member
0 Kudos

Hi cml_bzl,

try not using the ReferenceDocument. Define your Transaction Input Property as Typ of XML and use your Sample XML as default value. Look if it works.

Ciao

Martin

Former Member
0 Kudos

Hi,

I tryed it.But result is the same.

I used input and output with XML type and they have xml structure.

When i make add-web reference with .Net application, wsdl does not include input and output xml structure.

Thanks.

Former Member
0 Kudos

Hi,

I'm using MII 12.05.

I think there is a bug about it.