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.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to