
Hello
I need to create an XML document to be sent trough the web. Can anyone point me to blog or some walk-trough for similar process.
The order is like this. (example from currency rates)
1) Take information, like to date and from date from USD.
2) Information will be generated into XML document who is created from XSD file who is placed on the web for example: b2b.mydomain.com/currencySend.xsd
3) The XML document is sent to the service provider.
4) The service provider send to AX another XML document with the result, who is generated from another XSD for example http://b2b/mydomain.com/currencyGet.xsd
5) The XML document with the information are generated and placed into currency form.
I need some walktrough information who determine the step what needs to be done in each step.
*This post is locked for comments
I have the same question (0)So you don't have any web service to call, you have to actually create a file according to a given schema, correct? You can generate XML by yourself by any XML API (or, in theory, as any text file), or you could use AIF document services to generate and parse XML files and implement XML transformations between the AX format and the format defined by your schemas.
If the external system actually provides a web service, you'll want to call the service through a service client in a similar way as you call any other method. Whether values are serialized to XML or something else is irrelevant and it depends on configuration.