tag:blogger.com,1999:blog-5105267482422907994.post6137198078408584504..comments2024-03-27T19:13:54.377-07:00Comments on Florian's Dynamics Ax Blog: Testing AIF-WebServices with soapUIAnonymoushttp://www.blogger.com/profile/15472395080068179790noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-5105267482422907994.post-64857542509727177412019-10-28T11:37:55.693-07:002019-10-28T11:37:55.693-07:00Please share the steps, tried with NTLM, still fai...Please share the steps, tried with NTLM, still failing.<br />email :- ankur.1bhayana@gmail.comankurhttps://www.blogger.com/profile/11064690166923055381noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-78403966135987729802017-09-19T12:05:09.860-07:002017-09-19T12:05:09.860-07:00Hi,
I am also facing same issue in visual studio ...Hi,<br /><br />I am also facing same issue in visual studio web service working perfectly but via SoapUI i am getting same error as above.<br />Please reply Mohithttps://www.blogger.com/profile/16478979124626684326noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-59532931362730646612016-05-12T14:31:21.339-07:002016-05-12T14:31:21.339-07:00Hi Maarten,
I was reading this post because I'...Hi Maarten,<br /><br />I was reading this post because I'm having a similar issue. Could be possible that you send me the document with the steps you went through using Basic Auth and the SSL Certificate in order to get it working?<br /><br />My mail is: miguel.gonzalez@caudexit.com<br /><br />Thanks in advance.<br /><br />Kind regards,<br /><br />Miguel.Miguel Angel Gonzálezhttps://www.blogger.com/profile/14916129746952802484noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-89637881216793337032016-04-14T01:26:01.408-07:002016-04-14T01:26:01.408-07:00Hello :)
We are struggling to perform some SOAP r...Hello :)<br /><br />We are struggling to perform some SOAP requests from within soapUI 4.5.2 to AX2009.<br /><br />The WSDL is loaded fine in soapUI and we see the methods, but when we try to run the request, the following answer comes back from AX:<br /><br />Sie können sich nicht bei Microsoft Dynamics AX anmelden. Fehlerdetails: You are not a recognized user of Microsoft Dynamics AX. Contact your system administrator for help.. Überprüfen Sie die Ereignisanzeige des Webservers auf weitere Informationen, oder wenden Sie sich an den Administrator.<br /><br />We have input the right credentials in the Auth tab and used all authorization types, including NTLM, to no avail.<br /><br />Any help would be highly appreciated... :)RazvanFechetehttps://www.blogger.com/profile/04386343226098196663noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-56133067348907149162016-01-23T00:57:14.957-08:002016-01-23T00:57:14.957-08:00Looked like that SOAPUI changed the Url for their ...Looked like that SOAPUI changed the Url for their article. I just updated the link. Please try it again and try your AIF-service with the described configuration. Anonymoushttps://www.blogger.com/profile/15472395080068179790noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-67307150051321478702015-05-04T00:57:21.729-07:002015-05-04T00:57:21.729-07:00Hi Fredrik,
I've try Florian instructions als...Hi Fredrik,<br /><br />I've try Florian instructions also your instruction but still can't get SOAPui to get proper response from AIF.<br />I always get error:<br /><br />Object Server 01: An error has occurred in the services framework. Method: AifMessageInspector::AfterReceiveRequest. Error: System.Security.SecurityException: The user name or password is incorrect.<br /><br /> at System.Security.Principal.WindowsIdentity.KerbS4ULogon(String upn, SafeTokenHandle& safeTokenHandle)<br /> at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName, String type)<br /> at System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName)<br /> at Microsoft.Dynamics.Ax.Services.AxSessionInitBehavior.getUserSid(String logonAsUser)<br /> at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeSession()<br /> at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.InitializeContext()<br /> at Microsoft.Dynamics.Ax.Services.AxServiceOperationContext.Attach(OperationContext owner)<br /> at System.ServiceModel.ExtensionCollection`1.InsertItem(Int32 index, IExtension`1 item)<br /> at System.Collections.Generic.SynchronizedCollection`1.Add(T item)<br /> at Microsoft.Dynamics.Ax.Services.AifMessageInspector.AfterReceiveRequest(Message& request, IClientChannel channel, InstanceContext instanceContext)<br />The Zone of the assembly that failed was:<br />MyComputer <br /><br />Even though I've fill in the correct authentication in the "Auth" tab. Do you know how to solve this?<br />Thank you.Esther Mulijononoreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-63415842056857452652012-05-14T07:32:16.410-07:002012-05-14T07:32:16.410-07:00Hi Bull
Iv managed to get get my SOAPui to work w...Hi Bull<br /><br />Iv managed to get get my SOAPui to work with my AX 2012 webservice. I followed Florians instructions in how to configure SOAPui and set the LmCompatibilityLevel setting in the registry to "2". I also had to change the authentication method on the bindings on the AIF ports HTTP adapter to use NTLM instead of windows.<br /><br />Sometime i get problems reading the WDSL from SOAPui but thats easy solved by opening the WDSL in EI and save it as a file and then use the file to read WDSL in SOAPui.Fredriknoreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-21669650304701606912012-05-03T15:14:31.783-07:002012-05-03T15:14:31.783-07:00Florian, did you succeed in testing Ax2012 AIF-Web...Florian, did you succeed in testing Ax2012 AIF-WebServices with soapUI?<br /><br />If so, I would be really glad to see how did you performed that... I'm stuck with "401 - Unauthorized Access" issues...Bullhttp://www.google.comnoreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-68180426160168026632012-05-03T06:05:34.480-07:002012-05-03T06:05:34.480-07:00Fredrik, perhaps you need to set the Aut parameter...Fredrik, perhaps you need to set the Aut parameters for the Request you're trying.<br /><br />Click on Request, an then, in the request windows, click at Aut Tab (it's placed at bottom), and set the auth parameters.Bullhttp://www.google.comnoreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-26918175958913265282012-05-03T04:52:54.146-07:002012-05-03T04:52:54.146-07:00Hi Florian
Im trying to use SOAPui with AX2012 we...Hi Florian<br /><br />Im trying to use SOAPui with AX2012 webservices. So far I have set up a service that is published on a IIS and I manage to read the WDSL in SOAPui and the operations is automaticly added to the project. But then Im trying to send a request AX just respnd wiht a Access denied message.<br /><br />Object Server 01: An error has occurred in the services framework. Method: AifMessageInspector::AfterReceiveRequest. Error: System.Security.SecurityException: Logon failure: unknown user name or bad password.<br /><br />You have any idea in how to configure it so it works?<br /><br />/FredrikFredriknoreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-87318881463248599772011-07-17T13:21:50.345-07:002011-07-17T13:21:50.345-07:00Hi Florian,
Thanks for your reply.
In the meanti...Hi Florian,<br /><br />Thanks for your reply. <br />In the meantime, I have been able to successfully solve the problem by modifying the web.config and IIS-properties. We are now successfully calling/using the webservices from SoapUI and PHP using Basic Authentication (which we will enhance with a Self Signed SSL Certificate later on).<br /><br />If you're interested, I am more than happy to send you the document in which I describe the steps I went through in order to get it working.<br /><br />With best regards,<br /><br />Maarten<br /><br />P.S. Please mail me at mroset followed by the at-symbol followed by the domain for Google mail ;-)).Maartenhttps://www.blogger.com/profile/11914799233042847103noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-41204580452016510512011-07-17T13:00:17.014-07:002011-07-17T13:00:17.014-07:00Hello Maarten,
sorry for my late response, but you...Hello Maarten,<br />sorry for my late response, but your mail did unfortunately arrive in the spam-box and not visible for me earlier. I hope that I will have the time to rebuild this scenario. Can you please send me the web.config and the SoapUI project, so that I can have a better idea of your environment?<br />Kind regards,<br />FlorianAnonymoushttps://www.blogger.com/profile/15472395080068179790noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-90898541508817245372011-06-27T10:43:06.289-07:002011-06-27T10:43:06.289-07:00Hi Florian, dear all,
First of all: Thanks for yo...Hi Florian, dear all,<br /><br />First of all: Thanks for your efforts and the tips on configuring AIF Webservices for useage with SoapUI ! <br /><br />I've followed the steps carefully to configure my (W2K8R2 x64) server for NTLMv1 and to set ClientCredentialType to "Ntlm" in web.config. <br /><br />Unfotunately however, I continue to have the following problem: Whenever trying to add the WDSL in SoapUI it simply remains stuck at 'Loading WDSL' (the 'Knight Rider-like' progress indicator bar moves back and forth indefinitely without any obvious progress). Please note that this behaviour occurs for 'http://{servername FQN or IP-address}:8081/MicrosoftDynamicsAXAif50/customerservice.svc?wsdl'. <br />Environment: <br />- W2K8R2 x64<br />- LMCompatibilityLevel changed to 2 (Was absent, hence I assumed the default value of 3 here)<br />- IE9 <br /><br />Things I've tried:<br />- When opening the WDSL in IE9, IE does show me the WDSL.<br />- When using the publicly available 'http://www.webservicex.net/WeatherForecast.asmx?wsdl', adding the WDSL works like a charm.<br /><br />- Replace server name by IP-address or Localhost (no difference)<br /><br />My question:<br />- Anyone have a clue as to what could be causing this ? (Could this be related to the x64 environment ? I'm quite sure all the registry entries in Wow6432Node are there as well.<br />-Is there a workaround for using SoapUI to add the WDSL and to consume the AX-webservice(s) ?<br /><br />I will continue to investigate this and update you. Possible next steps/workaround that I might pursue next:<br />- use ProcessMonitor to check what's going on<br />- Check the SoapUI log files more carefully (didn't find anything relevant until now)<br />- create a .NET proxy and somehow publish that for consumption (eventually it needs to be consumed by a Linux based PHP platform)<br /><br />With best regards / thank you,<br /><br />Maarten RosetMaartenhttps://www.blogger.com/profile/11914799233042847103noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-69724938020003757522011-06-27T10:40:08.959-07:002011-06-27T10:40:08.959-07:00This comment has been removed by the author.Maartenhttps://www.blogger.com/profile/11914799233042847103noreply@blogger.comtag:blogger.com,1999:blog-5105267482422907994.post-35171482690119470482011-06-27T10:36:17.273-07:002011-06-27T10:36:17.273-07:00This comment has been removed by the author.Maartenhttps://www.blogger.com/profile/11914799233042847103noreply@blogger.com