Failed to generate WS Consumer Cause: null

What product/components do you use and which version/fix level?

10.11 Integration Server

Are you using a free trial or a product with a customer license?

Customer License

What are trying to achieve? Please describe in detail.

I got this error when i try to create a consumer for a webservice descriptor
image

Below are the error stacktrace

2022-07-20 10:19:49 ICT [ISS.0095.0042I] (tid=30) The ERRSTACKTRACE field in a WMERROR audit record was truncated. CONTEXTID: 37c5ecd3-d808-4a53-8ea2-0e875fa01d4a. MSGID: 3b800cc4-4ffb-29e5-65a4-7cb47612f22b. Full value: java.lang.NullPointerException: null
	at org.apache.axis2.description.AxisDescription.getApplicablePolicy(AxisDescription.java:604)
	at org.apache.axis2.description.AxisDescription.applyPolicy(AxisDescription.java:319)
	at org.apache.axis2.description.AxisOperation.applyPolicy(AxisOperation.java:662)
	at org.apache.axis2.description.AxisDescription.applyPolicy(AxisDescription.java:326)
	at com.wm.app.b2b.server.wss.WSStackDeploymentUtils.attachPolicies(WSStackDeploymentUtils.java:423)
	at com.wm.app.b2b.server.wss.WSStackDeploymentUtils.registerCachedServiceWithAxis(WSStackDeploymentUtils.java:285)
	at com.wm.app.b2b.server.wss.WSStackDeploymentUtils.deployWSDToAxis(WSStackDeploymentUtils.java:115)
	at wm.server.nsimpl._putNode(nsimpl.java:7306)
	at wm.server.nsimpl.makeNode(nsimpl.java:5568)
	at jdk.internal.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:404)
	at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:759)
	at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
	at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:53)
	at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
	at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
	at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
	at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:336)
	at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:33)
	at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)
	at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:629)
	at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:434)
	at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:392)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:260)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:88)
	at com.wm.app.b2b.server.Service.doInvoke(Service.java:705)
	at com.wm.app.b2b.server.Service.doInvoke(Service.java:596)
	at wm.server.WSStackWSFacade.wsdl2wsd(WSStackWSFacade.java:1724)
	at wm.server.WSModule.wsdl2wsd(WSModule.java:17)
	at wm.server.ws.wsdl2wsd(ws.java:84)
	at jdk.internal.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:404)
	at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:759)
	at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
	at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:53)
	at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
	at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
	at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
	at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:336)
	at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:33)
	at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:399)
	at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:629)
	at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:434)
	at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:392)
	at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:260)
	at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
	at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:156)
	at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:218)
	at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:426)
	at com.wm.util.pool.PooledThread.run(PooledThread.java:127)
	at java.base/java.lang.Thread.run(Thread.java:829) 

Does anyone ever found this issue and able to solve it?

Thank you

Daily Bump, does anyone ever having this problem? the WSDL file successfully consumed in SOAP UI but i can’t consume it on my Designer, any other way?

Below are the files of WSDL
cmsSvng.xml (79.8 KB)
commonType.xml (1.1 KB)
svis-type.xml (6.6 KB)

Thanks

Which one are you importing first ?
John.

Hello @John_Carter4 cmsSng.xml are the main wsdl, i assume the other files need to be same directory, but it’s still failed

Your extensions are wrong, you need to replace the .xml with .wsdl. The imports in your file reference

<import namespace="http://bpc.ru/common/types/v0.1/" schemaLocation="commonType.wsdl"/>
<import namespace="http://bpc.ru/SVIS/types/v0.1/" schemaLocation="svis-type.wsdl"/>

Your files have .xml, change that and it should work.
regards,
John.

I’m sorry that i forgot to mention that i changed the wsdl to xml extension, because i’m not able to upload wsdl files to this forum, it said invalid format iirc , but it’s the same file just with a different extension

Interestingly I am not getting the same error as you, I have a “operation not permitted” exception

Can you please raise this with our support site please

https://getsupport.softwareag.com

thanks,
John.