Hi, i have a requirement to build a web service that should load a request from an xml message and retrieve very large xml message that will be build according to the request, and will have about 20 possible structures. For the request i am thinking of using 'Microsoft XML, v3.0'.DOMDocument Automation, but i have no idea how to make the response. Anyone with experience in this scenario? Any information will be great because i have no experience with web services.
many thanks
0
Comments
For more information, take a look at this great example :
http://www.mibuso.com/dlinfo.asp?FileID=539
hope this helps
would this topic exposing webservices through codeunit and xmlports be useful, maybe?
http://blogs.msdn.com/b/freddyk/archive ... stuff.aspx
I would be glad to send you more of that stuff, if it can help, but I can't on my own
Good luck
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Thanks
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Your help has been great (an example would be even better [-o< )
Thanks
it is for image, but you can modify it to not send binary data encoded into base64, but just send/receive any XML you want...
Or this: http://blogs.msdn.com/b/freddyk/archive ... -of-3.aspx
BigText parameter is used to return the result.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
How can i use the xml port for response if i dont know the structure it should have? Can it be an empty xmlport? Basically all i want to do is to pick up an 'Microsoft XML, v3.0'.DOMDocument structure and send it to xmlport so it can be returned by the webservice. Because this xml dom structure can be created in about 40 different structures its not reliable to build 40 different xml ports (one for each structure) and test evertything etc, so i must find a solution to "wrap" the xml dom document and return it from the web service.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
For example, if I have the bigtext variable Document the code could be
where the dotnet variables are
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com