Sorry, you can find the stack trace below,
org.apache.axis2.AxisFault: No port found for the given name
:StockQuoteServiceAXHttpEndpoint
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:1041)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:332)
at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:169)
at
org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute(WSDL2CodeMojo.java:566)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
On Mon, Dec 9, 2013 at 10:33 AM, Samisa Abeysinghe <[email protected]> wrote:
> You have to send the stack trace please ...
>
> Thanks,
> Samisa...
>
>
> Samisa Abeysinghe
>
> Vice President Training
>
> WSO2 Inc.
> http://wso2.com
>
>
>
> On Mon, Dec 9, 2013 at 10:32 AM, Chamila Wijayarathna <[email protected]>wrote:
>
>> Sorry for the inconvenience,
>>
>> The error I am getting is,
>>
>> [ERROR] Failed to execute goal
>> org.apache.axis2:axis2-wsdl2code-maven-plugin:1.6.1-wso2v10:wsdl2code
>> (default) on project WSO2-Axis2-Client: Error parsing WSDL: No port found
>> for the given name :StockQuoteServiceAXHttpEndpoint -> [Help 1]
>>
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
>> switch.
>>
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions, please
>> read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>>
>> pom.xml file has following configuration, which seems like the place which
>> has the problem.
>>
>> <configuration>
>> <outputDirectory>${basedir}/generated-sources</outputDirectory>
>>
>> <databindingName>adb</databindingName><portName>StockQuoteServiceAXHttpEndpoint</portName><language>java</language><wsdlFile>http://chamila-Dell-System-Vostro-3450:8280/services/StockQuoteServiceAX?wsdl</wsdlFile>
>>
>> </configuration>
>>
>>
>>
>>
>> On Mon, Dec 9, 2013 at 10:26 AM, Samisa Abeysinghe <[email protected]>wrote:
>>
>>> Please send in the errors in the email itself. That way, it is easier to
>>> read. You need to learn to copy the correct parts of the error into the
>>> mail though :)
>>>
>>>
>>> Thanks,
>>> Samisa...
>>>
>>>
>>> Samisa Abeysinghe
>>>
>>> Vice President Training
>>>
>>> WSO2 Inc.
>>> http://wso2.com
>>>
>>>
>>>
>>> On Mon, Dec 9, 2013 at 10:09 AM, Chamila Wijayarathna
>>> <[email protected]>wrote:
>>>
>>>> Hello all,
>>>> I created a secure proxy service to connect to a web service existing
>>>> in localhost [1].
>>>> Then I generated pom.xml file to build a secure client to use the proxy
>>>> service [2].
>>>> But when I try to build it using Maven, it gave me this failure message
>>>> [3].
>>>> In original pom.xml which gave the same error, it had the <portName> as
>>>> "StockQuoteServiceAXHttpsEndpoint", but I observed that such port name does
>>>> not exist in wsdl file. So I replaced it
>>>> with "StockQuoteServiceAXHttpEndpoint" which does exist in wsdl file. What
>>>> I have done wrong here?
>>>>
>>>> 1. https://gist.github.com/cdwijayarathna/7867406
>>>> 2. https://gist.github.com/cdwijayarathna/7867411
>>>> 3. https://gist.github.com/cdwijayarathna/7867429
>>>>
>>>> Regards.
>>>>
>>>> --
>>>> *Chamila Wijayarathna*
>>>> Engineering Intern,
>>>> WSO2 Inc.
>>>>
>>>>
>>>
>>
>>
>> --
>> *Chamila Wijayarathna*
>> Engineering Intern,
>> WSO2 Inc.
>>
>>
>
--
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev