apigee / wsdl2apigee

Generates Apigee Proxy bundles from WSDL
Apache License 2.0
23 stars 25 forks source link

Not able to run wsdl2apigee on macOS #40

Open flogei opened 3 years ago

flogei commented 3 years ago

$ javac -version javac 17

$ java -version java version "17" 2021-09-14 LTS Java(TM) SE Runtime Environment (build 17+35-LTS-2724) Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)

Error thrown when running java -jar wsdl2apigee-1.0.0-jar-with-dependencies.jar -wsdl=library-wsdl.xml java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base does not "opens java.lang" to unnamed module @755c9148

Gueryce commented 2 years ago

Hello, I haven't yet try , but I could do to run wsdl2apigee in my Mac. I will see what 's the problem.

martin-svensson-inera commented 2 years ago

I get the same error on Windows as well

C:>java -version java version "17.0.1" 2021-10-19 LTS Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39) Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)

C:\programs\wsdl2apigee-master\target>java -jar wsdl2apigee-1.0.0-jar-with-dependencies.jar -wsdl="https://paypalobjects.com/wsdl/PayPalSvc.wsdl" dec. 22, 2021 9:55:32 FM com.apigee.proxywriter.GenerateProxy prepareTargetFolder INFO: Target proxy folder setup complete dec. 22, 2021 9:55:32 FM com.apigee.proxywriter.GenerateProxy begin INFO: Read operations map java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base does not "opens java.lang" to unnamed module @6895a785

Gueryce commented 2 years ago

Hello,

Could you try again with debug option.

And send the output.

martin-svensson-inera commented 2 years ago

Hi. Thanks for reaching out.

Here is the debug info

// Martin

C:\programs\wsdl2apigee-master\target>java -jar wsdl2apigee-1.0.0-jar-with-dependencies.jar -wsdl="https://paypalobjects.com/wsdl/PayPalSvc.wsdl" -passthru=true -debug=true >> debug.txt dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy begin FINER: ENTRY dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy begin FINE: Preparing target folder dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINER: ENTRY dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINE: Target is a folder dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINE: created apiproxy folder dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINE: created policies folder dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINE: created proxies folder dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINE: created targets folder dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder INFO: Target proxy folder setup complete dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy prepareTargetFolder FINER: RETURN dec. 22, 2021 1:55:27 EM com.apigee.proxywriter.GenerateProxy getWSDLDetails FINER: ENTRY java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base does not "opens java.lang" to unnamed module @3c0ecd4b at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at java.base/java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:130) at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:86) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:81) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:116) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:116) at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250) at org.codehaus.groovy.reflection.stdclasses.CachedClosureClass.(CachedClosureClass.java:29) at org.codehaus.groovy.reflection.ClassInfo.createCachedClass(ClassInfo.java:312) at org.codehaus.groovy.reflection.ClassInfo.access$400(ClassInfo.java:37) at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:484) at org.codehaus.groovy.reflection.ClassInfo$LazyCachedClassRef.initValue(ClassInfo.java:475) at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46) at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33) at org.codehaus.groovy.reflection.ClassInfo.getCachedClass(ClassInfo.java:94) at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:107) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:189) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(MetaClassRegistryImpl.java:93) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(MetaClassRegistryImpl.java:71) at groovy.lang.GroovySystem.(GroovySystem.java:33) at org.codehaus.groovy.runtime.InvokerHelper.(InvokerHelper.java:61) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:159) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.predic8.xml.util.ExternalResolver.(ExternalResolver.groovy:33) at com.apigee.proxywriter.GenerateProxy$WSDLParser2.(GenerateProxy.java:3181) at com.apigee.proxywriter.GenerateProxy$WSDLParser2.(GenerateProxy.java:3179) at com.apigee.proxywriter.GenerateProxy.getWSDLDetails(GenerateProxy.java:2306) at com.apigee.proxywriter.GenerateProxy.begin(GenerateProxy.java:2806) at com.apigee.proxywriter.GenerateProxy.main(GenerateProxy.java:3113) Exception in thread "main" BUG! UNCAUGHT EXCEPTION: java.lang.invoke.MethodHandles$Lookup.(java.lang.Class,int) at org.codehaus.groovy.vmplugin.v7.Java7.(Java7.java:44) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:347) at java.base/java.lang.Class.newInstance(Class.java:645) at org.codehaus.groovy.vmplugin.VMPluginFactory.createPlugin(VMPluginFactory.java:56) at org.codehaus.groovy.vmplugin.VMPluginFactory.(VMPluginFactory.java:37) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(MetaClassRegistryImpl.java:99) at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.(MetaClassRegistryImpl.java:71) at groovy.lang.GroovySystem.(GroovySystem.java:33) at org.codehaus.groovy.runtime.InvokerHelper.(InvokerHelper.java:61) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:72) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:159) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.predic8.xml.util.ExternalResolver.(ExternalResolver.groovy:33) at com.apigee.proxywriter.GenerateProxy$WSDLParser2.(GenerateProxy.java:3181) at com.apigee.proxywriter.GenerateProxy$WSDLParser2.(GenerateProxy.java:3179) at com.apigee.proxywriter.GenerateProxy.getWSDLDetails(GenerateProxy.java:2306) at com.apigee.proxywriter.GenerateProxy.begin(GenerateProxy.java:2806) at com.apigee.proxywriter.GenerateProxy.main(GenerateProxy.java:3113) Caused by: java.lang.NoSuchMethodException: java.lang.invoke.MethodHandles$Lookup.(java.lang.Class,int) at java.base/java.lang.Class.getConstructor0(Class.java:3585) at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2754) at org.codehaus.groovy.vmplugin.v7.Java7.(Java7.java:42) ... 24 more

C:\programs\wsdl2apigee-master\target>

Från: GUERY Cédric @.> Skickat: den 22 december 2021 11:12 Till: apigee/wsdl2apigee @.> Kopia: Svensson Martin @.>; Comment @.> Ämne: Re: [apigee/wsdl2apigee] Not able to run wsdl2apigee on macOS (#40)

Viktig information: Detta är ett e-postmeddelande som kommer från en avsändare utanför organisationen. Var aktsam för okända avsändare samt misstänksamma bifogade filer eller länkar. Öppna endast filer och länkar från källor som du litar på.

Hello,

Could you try again with debug option.

And send the output.

- Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapigee%2Fwsdl2apigee%2Fissues%2F40%23issuecomment-999451996&data=04%7C01%7Cmartin.svensson%40inera.se%7C3272fac5d8a24c7fb79b08d9c53380b1%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637757647262817087%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ku4RZrF9PKJUACxJX1x5Q3OPweHgvM2KEQ1RGZ37dcE%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXAMLTVABCOC46KLH6JX6YLUSGP7FANCNFSM5F7CCBAA&data=04%7C01%7Cmartin.svensson%40inera.se%7C3272fac5d8a24c7fb79b08d9c53380b1%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637757647262817087%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=bMomHqpPLuR0xnxeNjfRviezAX3uNBhQcDQilKYEvKw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmartin.svensson%40inera.se%7C3272fac5d8a24c7fb79b08d9c53380b1%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637757647262827058%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=jUJSpP3J6EErBVCNbQDeN%2F2NvdwziFnutz1nMDCYwSE%3D&reserved=0 or Androidhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cmartin.svensson%40inera.se%7C3272fac5d8a24c7fb79b08d9c53380b1%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637757647262837001%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BQ5anG91RKTd618x3QdaAZ3lZuLdh32vZfjwu4qihB8%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

Gueryce commented 2 years ago

Hi,

D:\Dev>java -jar wsdl2apigee-1.0.0-jar-with-dependencies.jar -wsdl="https://paypalobjects.com/wsdl/PayPalSvc.wsdl" dc. 22, 2021 9:45:58 PM com.apigee.proxywriter.GenerateProxy prepareTargetFolder INFOS: Target proxy folder setup complete dc. 22, 2021 9:45:58 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Read operations map SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. dc. 22, 2021 9:46:03 PM com.apigee.proxywriter.GenerateProxy getWSDLDetails INFOS: Binding Stype: Document/Literal dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy getWSDLDetails INFOS: Retrieved WSDL endpoint: https://api.sandbox.paypal.com/2.0/ dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy generateOAS INFOS: Generated OpenAPI Spec successfully. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Parsed WSDL Successfully. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Base Path: /paypalapiinterfaceservice WSDL Path: https://paypalobjects.com/wsdl/PayPalSvc.wsdl dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Build Folder: C:\Users\cguery\AppData\Local\Temp\5290291684987700160 SOAP Version: SOAP11 dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Proxy Name: PayPalAPIInterfaceService Proxy Description: Generated SOAP to API proxy from PayPalAPIInterfaceService dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated Apigee proxy file. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated SOAP Message Templates. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation TransactionSearch soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation EnterBoarding soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation RefundTransaction soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated proxies XML. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Copied standard policies. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeTargetEndpoint INFOS: Generated Target xml: C:\Users\cguery\AppData\Local\Temp\5290291684987700160\apiproxy\targets\default.xml dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated target XML. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated Apigee Edge API Bundle file: PayPalAPIInterfaceService.zip

It' Ok for me.

I suggest to you to review your install of JVM . May be the version . Could you take the v8 ? (java-1.8.0-openjdk-1.8) and use maven apache-maven-3.6.3

martin-svensson-inera commented 2 years ago

Hi Cedric!

Thanks for your reply. Any suggestions why my installation fails?

What java version do you use?

Do i need a particular folder structure?

I see that you have placed the jar file in a Dev folder.

When i run the MVN to set up the wsdl2apigee-master then my wsdl2apigee-1.0.0-jar-with-dependencies.jar is placed in a folder named "target#. Have you just copied yours to your Dev folder or have you added the Dev folder to your PATH?

Could something have gone wrong in the wsdl2apigee-master MVN setup? Or do i do i need to add additional stuff to my PATH?

Best Regards. Martin

Från: GUERY Cédric @.> Skickat: den 22 december 2021 21:50 Till: apigee/wsdl2apigee @.> Kopia: Svensson Martin @.>; Comment @.> Ämne: Re: [apigee/wsdl2apigee] Not able to run wsdl2apigee on macOS (#40)

Viktig information: Detta är ett e-postmeddelande som kommer från en avsändare utanför organisationen. Var aktsam för okända avsändare samt misstänksamma bifogade filer eller länkar. Öppna endast filer och länkar från källor som du litar på.

Hi,

D:\Dev>java -jar wsdl2apigee-1.0.0-jar-with-dependencies.jar -wsdl="https://paypalobjects.com/wsdl/PayPalSvc.wsdl" dc. 22, 2021 9:45:58 PM com.apigee.proxywriter.GenerateProxy prepareTargetFolder INFOS: Target proxy folder setup complete dc. 22, 2021 9:45:58 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Read operations map SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. dc. 22, 2021 9:46:03 PM com.apigee.proxywriter.GenerateProxy getWSDLDetails INFOS: Binding Stype: Document/Literal dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy getWSDLDetails INFOS: Retrieved WSDL endpoint: https://api.sandbox.paypal.com/2.0/ dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy generateOAS INFOS: Generated OpenAPI Spec successfully. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Parsed WSDL Successfully. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Base Path: /paypalapiinterfaceservice WSDL Path: https://paypalobjects.com/wsdl/PayPalSvc.wsdl dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Build Folder: C:\Users\cguery\AppData\Local\Temp\5290291684987700160 SOAP Version: SOAP11 dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Proxy Name: PayPalAPIInterfaceService Proxy Description: Generated SOAP to API proxy from PayPalAPIInterfaceService dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated Apigee proxy file. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated SOAP Message Templates. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation TransactionSearch soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation EnterBoarding soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation RefundTransaction soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated proxies XML. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Copied standard policies. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeTargetEndpoint INFOS: Generated Target xml: C:\Users\cguery\AppData\Local\Temp\5290291684987700160\apiproxy\targets\default.xml dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated target XML. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated Apigee Edge API Bundle file: PayPalAPIInterfaceService.zip

It' Ok for me.

- Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapigee%2Fwsdl2apigee%2Fissues%2F40%23issuecomment-999872003&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BwBlTzUqPbq0ikSZ5A6eHmD5WsawFaw8KerV2UnHHZI%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXAMLTXGMNJHZ6AGY5YZGV3USI2WHANCNFSM5F7CCBAA&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=K2boAR%2F3Y1di4pR%2FZV6GuIeRInSoUvMy1YlpRosFf14%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PjoOOQ1%2BFWI56dUPYCmbHuXGWyqkhQcsit4XXXlg6ds%3D&reserved=0 or Androidhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=lLP7Rj2qLr3yMmTb2BCxMUKVGvrV80M5XfGk46LC54A%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

Gueryce commented 2 years ago

Hi Cedric! Thanks for your reply. Any suggestions why my installation fails? What java version do you use? Do i need a particular folder structure? I see that you have placed the jar file in a Dev folder. When i run the MVN to set up the wsdl2apigee-master then my wsdl2apigee-1.0.0-jar-with-dependencies.jar is placed in a folder named "target#. Have you just copied yours to your Dev folder or have you added the Dev folder to your PATH? Could something have gone wrong in the wsdl2apigee-master MVN setup? Or do i do i need to add additional stuff to my PATH? Best Regards. Martin Från: GUERY Cédric @.> Skickat: den 22 december 2021 21:50 Till: apigee/wsdl2apigee @.> Kopia: Svensson Martin @.>; Comment @.> Ämne: Re: [apigee/wsdl2apigee] Not able to run wsdl2apigee on macOS (#40) Viktig information: Detta är ett e-postmeddelande som kommer från en avsändare utanför organisationen. Var aktsam för okända avsändare samt misstänksamma bifogade filer eller länkar. Öppna endast filer och länkar från källor som du litar på. Hi, D:\Dev>java -jar wsdl2apigee-1.0.0-jar-with-dependencies.jar -wsdl="https://paypalobjects.com/wsdl/PayPalSvc.wsdl" dc. 22, 2021 9:45:58 PM com.apigee.proxywriter.GenerateProxy prepareTargetFolder INFOS: Target proxy folder setup complete dc. 22, 2021 9:45:58 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Read operations map SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. dc. 22, 2021 9:46:03 PM com.apigee.proxywriter.GenerateProxy getWSDLDetails INFOS: Binding Stype: Document/Literal dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy getWSDLDetails INFOS: Retrieved WSDL endpoint: https://api.sandbox.paypal.com/2.0/ dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy generateOAS INFOS: Generated OpenAPI Spec successfully. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Parsed WSDL Successfully. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Base Path: /paypalapiinterfaceservice WSDL Path: https://paypalobjects.com/wsdl/PayPalSvc.wsdl dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Build Folder: C:\Users\cguery\AppData\Local\Temp\5290291684987700160 SOAP Version: SOAP11 dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Proxy Name: PayPalAPIInterfaceService Proxy Description: Generated SOAP to API proxy from PayPalAPIInterfaceService dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated Apigee proxy file. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated SOAP Message Templates. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation TransactionSearch soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation EnterBoarding soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIExtractPolicy AVERTISSEMENT: Large SOAP Message Template; Skipping extract policy dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeSOAP2APIAssignMessagePolicies AVERTISSEMENT: Operation RefundTransaction soap template could not be generated dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated proxies XML. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Copied standard policies. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy writeTargetEndpoint INFOS: Generated Target xml: C:\Users\cguery\AppData\Local\Temp\5290291684987700160\apiproxy\targets\default.xml dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated target XML. dc. 22, 2021 9:46:04 PM com.apigee.proxywriter.GenerateProxy begin INFOS: Generated Apigee Edge API Bundle file: PayPalAPIInterfaceService.zip It' Ok for me. - Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapigee%2Fwsdl2apigee%2Fissues%2F40%23issuecomment-999872003&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BwBlTzUqPbq0ikSZ5A6eHmD5WsawFaw8KerV2UnHHZI%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXAMLTXGMNJHZ6AGY5YZGV3USI2WHANCNFSM5F7CCBAA&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=K2boAR%2F3Y1di4pR%2FZV6GuIeRInSoUvMy1YlpRosFf14%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PjoOOQ1%2BFWI56dUPYCmbHuXGWyqkhQcsit4XXXlg6ds%3D&reserved=0 or Androidhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cmartin.svensson%40inera.se%7C8a4eba2d84114be77b0708d9c58c9305%7C9b461ef0885543db9f7777732f0bbc18%7C0%7C0%7C637758029828904722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=lLP7Rj2qLr3yMmTb2BCxMUKVGvrV80M5XfGk46LC54A%3D&reserved=0. You are receiving this because you commented.Message ID: @.**@.>>

Hello Martin.

I use Java 8. For that. And I just copy the jar in my folder where I usualy work. For Maven , I think there are not particular things to do. If the mvn install is ok, that all . Thanks

martin-svensson-inera commented 2 years ago

Installed Java 8, and then it worked. Thanks @Gueryce for your assistance.