NAV 2013 R2 XMLPort to create soap packet
ScottJones
Member Posts: 44
Hi,
I developed an XMLPort to create a soap packet in NAV2009R2 to talk to NAV2013R2 web service. I am now trying to do the reverse and make a NAV2013R2 talk to a NAV2009R2 webservce but I cannot get it working using namespaces as I cannot change the namespace once it has been set to "Soap:". There is a hot fix for NAV2013 I wonder if this has not been implemented in NAV2013R2???
346345 - XMLports do not handle prefixed Namespaces
Has anyone else encountered this problem in NAV2013R2?
This is the soap packet I am trying to create but I do not seem to be able to create without getting error:
"Could not process node xmlns. The following error occurred: The prefix '' cannot be redefined from '' to 'urn:microsoft-dynanmics-schemas/codeunit/svcST3IntegrationWebService' within the same start element tag."
I have tried setting the default namespace but once this is set I cannot change it the the XMLPort namespace.
Any pointers would be appreciated...
I developed an XMLPort to create a soap packet in NAV2009R2 to talk to NAV2013R2 web service. I am now trying to do the reverse and make a NAV2013R2 talk to a NAV2009R2 webservce but I cannot get it working using namespaces as I cannot change the namespace once it has been set to "Soap:". There is a hot fix for NAV2013 I wonder if this has not been implemented in NAV2013R2???
346345 - XMLports do not handle prefixed Namespaces
Has anyone else encountered this problem in NAV2013R2?
This is the soap packet I am trying to create but I do not seem to be able to create without getting error:
"Could not process node xmlns. The following error occurred: The prefix '' cannot be redefined from '' to 'urn:microsoft-dynanmics-schemas/codeunit/svcST3IntegrationWebService' within the same start element tag."
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Soap:Envelope xmlns:Soap="http://schemas.xmlsoap.org/soap/envelope/">
<Soap:Body>
<FncSubmitItems xmlns="urn:microsoft-dynamics-schemas/codeunit/svcST3IntegrationWebService">
<pXML_Request>
<Items xmlns="urn:microsoft-dynamics-nav/xmlports/x70006">
<Item>
<Code>10</Code>
<Description>IBM STORAGE ENGINE PRELOAD</Description>
<UnitPrice>0</UnitPrice>
<UnitListPrice>0</UnitListPrice>
<Blocked>0</Blocked>
</Item>
<Item>
<Code>10 1U SERVER BOXES</Code>
<Description>SERVER BOXES 10 1U SERVER BOXES500MM X 75MM X 775MM</Description>
<UnitPrice>42</UnitPrice>
<UnitListPrice>0</UnitListPrice>
<Blocked>0</Blocked>
</Item>
</Items>
</pXML_Request>
<pXML_Response/>
</FncSubmitItems>
</Soap:Body>
</Soap:Envelope
I have tried setting the default namespace but once this is set I cannot change it the the XMLPort namespace.
Any pointers would be appreciated...
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions