web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to use web service as a web site to another domain

(0) ShareShare
ReportReport
Posted on by 2,426

Good Morning,

I have created a new service group name customerserviceGroup and used custcustomer service..and deployed

The WSDL URI path i copied in Visual studio as service reference and finally i am able to create Customer 

Here i stuck is i must use this webservice as a website so that i can consume in another domain.Because i am integrating with AX.so i am thinking of writing code and developing services in my domain and use them in another domain.

Please find the below attachment.

CustomerParameters.png

ParameterSalesorder.png

I have tried document service.It is working but what if i have xml file which is in different format .i used XSLT file

But i am not able to do.

So,please help me how to do in Web services.

The next Step what should i do.

Regards.

Any help will be greatly appreciated.

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    As you can see, the services accepts fields such as company, cclanguage etc. They don't accept raw XML strings and because we're not talking about XML, there also won't be any XML transformation (XSLT).

    We've already discussed quite a few things in your other thread, Integration with e-commerce website, but now it seems that you don't understand that adding a reference creates classes (so-called proxy classes) that you should use to call the service. You will write normal object-oriented code, not XML. If you get XML files from the website for some reason (instead of direct integration, when the website would call a web service using the data contract class), read the XML, fill in it the objects and call the web service proxy class.

    I have no idea what you mean by "i must use this webservice as a website". Could you explain it, please?

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Martin,

    i want Others to use my ASP.NET web  Service Application in their system to enter details

    for the parameters i have given and after pressing invoke.It must hit in my AX Application

    Is it possible

    Please tell me

    Regards.

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    If you mean they should call your web service, let them call your web service. If they use .NET, they can simply add a reference in Visual Studio and call the classes, as discussed before.

    If you mean that you want to develop the UI by yourself, all right, do it.

    There is no XML nor XSLT involved in either of these solutions. That WCF sends SOAP messages, which are based on XML, is an unrelated implementation detail.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Martin,

    "If you mean they should call your web service, let them call your web service. If they use .NET, they can simply add a reference in Visual Studio and call the classes".

    They are using .net .How can i add my ASP.net web service application to their Visual studio.

    Please tell me.

    Regards.

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    YASP.NET_5F00_web_5F00_service_5F00_Application.png"/api/data/v9.1/msdyn_richtextfiles(B5068380-4925-4310-92AD-3CC2BB600D69)/msdyn_imageblob/$value?size=full">The picture in your other thread shows a service reference (SalesOrderServiceReference), so I thought I already knew how this works.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Martin,

    How can i add Web service WSDL URI to their Visual Studio because they are different domains.

    In my domain it is adding.

    How can i add the web service reference to their domain.

    How can i make WSDL URI global.

    Regards.

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    After so many posts, you still didn't tell us what problem you have with the domain. Instead, you ask seemingly unrelated questions about XSLT and such things.

    Because you didn't tell us anything new about your problem, I have no new answer either. Without any information about even which kind of domain you're talking about, I gave you links (in your other thread) about how to publish services via HTTP, so they can be accessed over internet, and how to use trusted intermediates. I thought you would learn something from it and it would help you to formulate your questions. Unfortunately it doesn't seem to work.

    Please stop creating more threads, stop mixing your problem with XML, XSLT, ASP.NET etc. and finally explain your problem. If you have problem with accessing the web service, tell us how are those systems connected, which protocol you use for the connection, whether you can access other services on the same server, which error code you get and so on. If you have a problem with authentication, tell us how are those two systems authenticated, of there are any trusts, how do you intend to implement your authentication scenario etc.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Martin,
    Please find below attachmentError_5F00_001.png

    Regards.

  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    Unfortunately, if "Error" is the only explanation of your problem you can give us, I'm afraid that there is nothing we can do for you.

    If you just don't spend a few minutes explaining your situation, then let's stop this whole thing, because it's clearly not worth my time either.

    If you have little idea what you're doing and what I was talking about in previous replies, you should at least ask questions.

  • AX 2012 r3 Profile Picture
    2,426 on at

    Hi Martin,

    Sorry if i waste your time.

    Please find the below attachment.

    ErrorWSDL.pngErrorWSDL.png

    through remote desktop i connected to my client system and there i am trying to add WSDL URI then i am getting Following Error.

    Regards.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans