AIF Ax2012 There is no service with namespace "xxx"

hi all,

am tryint to import xml data using AIF in ax2012,

now am getting error msg as

“There is no service with namespace = ’ schemas.microsoft.com/…/services’ and external name = ‘stunameServicearun’.”

But the external name also matchin perfectly,

can someone pls help me to resolve this.

thans in advance :slight_smile:

How exactly are you calling the service? It’s a web service call, or file system adapter or what? Also, the picture is too small to show anything.

Hi martin,

thank you your reply,

am using file system.

2313.stuname.jpg

How have you built the input XML file? Something is wrong there. Can you try the same with a standard service? (I obviously don’t have your custom stunameServicearun.)

Hi martin,

its working fyn for standard services, i have tried for salessalesorder creation.

its my customservice XML file,

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

{E0A09565-6E11-4B67-A517-2B5A195F2E30}

http://schemas.microsoft.com/dynamics/2008/01/services/stunameServicesarun/create

Arun

thank you

I can’t comment on your custom service.

First export some data from AX by your custom service to see the right format.

Hi martin,

this is my exported XML output file

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

{2D323315-E2D8-4640-998B-B7536F507514}

http://schemas.microsoft.com/dynamics/2008/01/services/stunameServicearun/read

Original

CEU

<_DocumentHash>47d6ff0fc52fd53de82f9df0dc1d37e4</_DocumentHash>

Arun

can u give me any idea???

thank you

Hi martin,

its working fyn for standard services, i have tried for salessalesorder creation.

its my customservice XML file,

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

{E0A09565-6E11-4B67-A517-2B5A195F2E30}

http://schemas.microsoft.com/dynamics/2008/01/services/stunameServicesarun/create

Arun

thank you

Sorry, I’m unable to debug your service.

If I was you, I wouldn’t start with XML files, I would first test the service using a web service and then simply save the XML generated by service client classes. Creating XML files manually is too much work for me.

thank you martine

The request failed with the following error: The message with Action ‘http://schemas.microsoft.com/dynamics/2008/01/services/stunameServicearun/create’ cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).

any idea???

You must have done something wrong with your service, but I can’t know what because I have no information about what you’ve done.

Try to start again. Remove the port, delete the service (not the service class), generate CIL, create a register your service again and create and deploy a new inbound port.

Hi martin,

thanx a lot for ur valuable replies,

at last i done it…

thank you once again :slight_smile: :slight_smile:

Dear Ganesh,

It will be fine if you can tell what you did to fix the issue.

In my case, I want to get data from sql server 2008 inside AX 2012 r3 cu10 database…
ie. Voucher entries from 2008 sql into ax db 2014 sql.

Which namespace I should u.

regards

How did you solved it?