Hi,
I’m using Designer in UI Development Perspective for developping CAF Projects.
My Designe is in on my computer but on this, I have no myWebMethodServer and IntegrationServer on this servers which is on a specific server enable from my computer.
My computer is connected to IntegrationServer et myWebMethodServer for application.
The fact is when I create web service, I can add it on binding view and after drag and drop on my screen.
But when I refresh web service descriptor on Soluton view (for instance because a new method is enabled on this webservice), my web service is update but when I click right on method I already used, I have a javaNullPointerException. Beside in Binding view, my methods of web service are visible but disabled and if I build the project I have error like if the compiler doesn’t know the methods.
I have my designer up to date thanks to updateManager.
I guess there is something I didn’t see
Ho Holger,
Drop the web service and recreate it is not working.
I have to delete the wsclient.xml (or node in it concerning the webservice in question) and refresh the project.
Like this it’s work. But it is very embarrassing because there is a lot of methods in web service and last but not list I use environment variable for each method for endpointadress.
OK Now I have installed the java package 1.8 fix 7. I can say it is not due to this fix.
Because I have still javanullpointerexception.
Maybe there is a componant I didn’t install on my computer which can explain the behaviour
!ENTRY org.eclipse.ant.core 4 3 2017-08-03 17:15:56.583
!MESSAGE The library “flatfile-launch-ant.jar” specified from “com.softwareag.is.flatfile.launch.core” for the antTasks or antTypes extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2017-08-03 17:15:56.587
!MESSAGE The library “flatfile-launch-ant.jar” specified from “com.softwareag.is.flatfile.launch.core” for the antTasks or antTypes extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2017-08-03 17:15:56.592
!MESSAGE The library “pubdoctype-launch-ant.jar” specified from “com.softwareag.is.pubdoctype.launch.core” for the antTasks or antTypes extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2017-08-03 17:15:56.596
!MESSAGE The library “pubdoctype-launch-ant.jar” specified from “com.softwareag.is.pubdoctype.launch.core” for the antTasks or antTypes extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2017-08-03 17:15:56.610
!MESSAGE The library “flatfile-launch-ant.jar” specified from “com.softwareag.is.flatfile.launch.core” for the extraClasspathEntries extension does not exist
!ENTRY org.eclipse.ant.core 4 3 2017-08-03 17:15:56.614
!MESSAGE The library “pubdoctype-launch-ant.jar” specified from “com.softwareag.is.pubdoctype.launch.core” for the extraClasspathEntries extension does not exist
!ENTRY com.webMethods.caf.common 2 2 2017-08-03 17:15:58.916
!MESSAGE Managed bean not found AjoutVariableToVariablesEnvironnement
!ENTRY com.webMethods.caf.common 2 2 2017-08-03 17:15:58.922
!MESSAGE Managed bean not found LancerAgent
!ENTRY com.webMethods.caf.common 2 2 2017-08-03 17:15:58.928
!MESSAGE Managed bean not found VerifierJobEnCours
[/i]
I FOUND.
Don’t ask me why but that’s work.
The fact is when I create Web Service connector for authentification I have to chose Non and not Basic (by default).
I don’t know why but when I do this, I have not the problem anymore.
OK If I chose None as authentification mode, I have a denied access to web service in runtime if permission is not set to anonymous.
So It’s not what I want but it is the only system I found to not have the problem to refreh my web service. I don’t know what to do !
what about this:
Define a Group in MWS which contains the users being allowed to invoke the webservice.
In Development Environment add the Developer Users as well to this group.
In IS assign this Group to an ACL for this Webservice and set this ACL as Read and Execute ACL.
Make sure that your Central User Management is configured correctly.
Then Authentication mode Basic should not be a problem.
Thanks Holger,
I knew it thanks to you beside.
But the fact is if I make a None authentification mode, I have no choice but have an anonymous ACL for execution.
So it is not a solution. I found another way after multiple try. I uncheck the Java annotation in dialog box to create Web service connector and the problem is solved.
It is enough for me but I really want to know why I have this exception.