Hi,

Please apply the patch0493 to esb and try it.

Thanks,
Nuwan

On Mon, Oct 24, 2016 at 11:31 AM, Hariprasath Thanarajah <
[email protected]> wrote:

> Hi Nuwan,
>
> I have tried with the sample xml you sent to me to generate the schema.
> But I got the below error.
>
>
>
> On Mon, Oct 24, 2016 at 10:58 AM, Nuwan Pallewela <[email protected]> wrote:
>
>> Hi Hari,
>>
>> Can you try the attached sample xml to generate the schema?
>>
>> Thakns,
>> Nuwan
>>
>> On Mon, Oct 24, 2016 at 9:37 AM, Nuwan Pallewela <[email protected]> wrote:
>>
>>> HI Hari,
>>>
>>> There is an issue when schema generation for default name-spaced
>>> elements of xml sample messages. Can you try a sample xml without default
>>> name-spaces?
>>>
>>> Thanks,
>>> Nuwan
>>>
>>> On Sun, Oct 23, 2016 at 9:18 PM, Hariprasath Thanarajah <
>>> [email protected]> wrote:
>>>
>>>> Hi Nuwan,
>>>>
>>>> I have used the attached outQuery.xml file to generate the input
>>>> schema(Response of query operation) and mapped a single element OwnerId to
>>>> an output schema which is generated from the following content of a json
>>>> file.
>>>>
>>>> {
>>>> "name":"hari",
>>>> "id":"122222223dsfvx"
>>>> }
>>>>
>>>> On Sun, Oct 23, 2016 at 6:45 AM, Nuwan Pallewela <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Hari,
>>>>>
>>>>> Can you share the input schema, output schema and the mapping
>>>>> configuration files to further analyze the issue?
>>>>>
>>>>> Thanks,
>>>>> Nuwan
>>>>>
>>>>> On Sun, Oct 23, 2016 at 1:06 AM, Hariprasath Thanarajah <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Create a public jira[1] to track this issue,
>>>>>>
>>>>>> [1] - https://wso2.org/jira/browse/DEVTOOLESB-767
>>>>>>
>>>>>> On Sun, Oct 23, 2016 at 1:04 AM, Hariprasath Thanarajah <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Now I am working on the dynamic schema generation for connector
>>>>>>> operations in dev-tooling. For the initial, I have completed the dynamic
>>>>>>> schema generation part for salesforce soap connector.I have tried a 
>>>>>>> simple
>>>>>>> use case using salesforce connector. For that used the query 
>>>>>>> operation(from
>>>>>>> the response) to create the input schema and map an element from that 
>>>>>>> to an
>>>>>>> output schema element using data mapper mediator. I have used the 
>>>>>>> following
>>>>>>> attached file to create the input schema(response of query operation) 
>>>>>>> and
>>>>>>> map it to an output element. In the above case, I have created an ESB
>>>>>>> config project and create a sample and invoke this service. When I 
>>>>>>> invoke
>>>>>>> this service I got the following error in [1]
>>>>>>>
>>>>>>> [1] - [2016-10-22 23:16:58,563]  WARN - XMLInputReader Element name
>>>>>>> not found : axis2ns1:LimitInfoHeader
>>>>>>> [2016-10-22 23:16:58,563] ERROR - DataMapperMediator DataMapper
>>>>>>> mediator : mapping failed
>>>>>>> Input type is incorrect or Invalid element found in the message
>>>>>>> payload : axis2ns1:LimitInfoHeader
>>>>>>>     at org.wso2.carbon.mediator.datamapper.engine.input.readers.XML
>>>>>>> InputReader.xmlTraverse(XMLInputReader.java:170)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.engine.input.readers.XML
>>>>>>> InputReader.xmlTraverse(XMLInputReader.java:224)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.engine.input.readers.XML
>>>>>>> InputReader.xmlTraverse(XMLInputReader.java:224)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.engine.input.readers.XML
>>>>>>> InputReader.read(XMLInputReader.java:117)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.engine.input.InputBuilde
>>>>>>> r.buildInputModel(InputBuilder.java:59)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.engine.core.mapper.Mappi
>>>>>>> ngHandler.doMap(MappingHandler.java:67)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.DataMapperMediator.trans
>>>>>>> form(DataMapperMediator.java:306)
>>>>>>>     at org.wso2.carbon.mediator.datamapper.DataMapperMediator.media
>>>>>>> te(DataMapperMediator.java:256)
>>>>>>>     at org.apache.synapse.mediators.AbstractListMediator.mediate(Ab
>>>>>>> stractListMediator.java:97)
>>>>>>>     at org.apache.synapse.mediators.base.SequenceMediator.mediate(S
>>>>>>> equenceMediator.java:281)
>>>>>>>     at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediat
>>>>>>> eFromContinuationStateStack(Axis2SynapseEnvironment.java:766)
>>>>>>>     at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.inject
>>>>>>> Message(Axis2SynapseEnvironment.java:282)
>>>>>>>     at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handle
>>>>>>> Message(SynapseCallbackReceiver.java:554)
>>>>>>>     at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receiv
>>>>>>> e(SynapseCallbackReceiver.java:188)
>>>>>>>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:1
>>>>>>> 80)
>>>>>>>     at org.apache.synapse.transport.passthru.ClientWorker.run(Clien
>>>>>>> tWorker.java:261)
>>>>>>>     at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.r
>>>>>>> un(NativeWorkerPool.java:172)
>>>>>>>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
>>>>>>> Executor.java:1145)
>>>>>>>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
>>>>>>> lExecutor.java:615)
>>>>>>>     at java.lang.Thread.run(Thread.java:745)
>>>>>>>
>>>>>>>
>>>>>>> How can I overcome this issue?
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>>>>> Associate Software Engineer | WSO2
>>>>>>> E: [email protected]
>>>>>>> M: +94752806528, 0777216903
>>>>>>> Blog: hariwso2.blogspot.com
>>>>>>>
>>>>>>> Skype : hariss636
>>>>>>> LinkedIn : https://www.linkedin.com/in/ha
>>>>>>> riprasath-thanarajah-5234b660
>>>>>>>
>>>>>>> WSO2, Inc.
>>>>>>> lean . enterprise . middleware
>>>>>>>
>>>>>>> https://wso2.com/signature
>>>>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>>>> Associate Software Engineer | WSO2
>>>>>> E: [email protected]
>>>>>> M: +94752806528, 0777216903
>>>>>> Blog: hariwso2.blogspot.com
>>>>>>
>>>>>> Skype : hariss636
>>>>>> LinkedIn : https://www.linkedin.com/in/ha
>>>>>> riprasath-thanarajah-5234b660
>>>>>>
>>>>>> WSO2, Inc.
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>> https://wso2.com/signature
>>>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> ----------------------------------------------------------
>>>>>
>>>>> *Nuwan Chamara Pallewela*
>>>>>
>>>>>
>>>>> *Software Engineer*
>>>>>
>>>>> *WSO2, Inc. *http://wso2.com
>>>>> *lean . enterprise . middleware*
>>>>>
>>>>> Email   *[email protected] <[email protected]>*
>>>>> Mobile  *+94719079739 <%2B94719079739>@*
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>> *Thank you and Regards,**Hariprasath Thanarajah*
>>>> Associate Software Engineer | WSO2
>>>> E: [email protected]
>>>> M: +94752806528, 0777216903
>>>> Blog: hariwso2.blogspot.com
>>>>
>>>> Skype : hariss636
>>>> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>>>>
>>>> WSO2, Inc.
>>>> lean . enterprise . middleware
>>>>
>>>> https://wso2.com/signature
>>>> http://wso2.com/about/team/hariprashath-thanarajah/
>>>>
>>>
>>>
>>>
>>> --
>>> ----------------------------------------------------------
>>>
>>> *Nuwan Chamara Pallewela*
>>>
>>>
>>> *Software Engineer*
>>>
>>> *WSO2, Inc. *http://wso2.com
>>> *lean . enterprise . middleware*
>>>
>>> Email   *[email protected] <[email protected]>*
>>> Mobile  *+94719079739 <%2B94719079739>@*
>>>
>>>
>>>
>>
>>
>> --
>> ----------------------------------------------------------
>>
>> *Nuwan Chamara Pallewela*
>>
>>
>> *Software Engineer*
>>
>> *WSO2, Inc. *http://wso2.com
>> *lean . enterprise . middleware*
>>
>> Email   *[email protected] <[email protected]>*
>> Mobile  *+94719079739 <%2B94719079739>@*
>>
>>
>>
>
>
> --
>
>
> *Thank you and Regards,**Hariprasath Thanarajah*
> Associate Software Engineer | WSO2
> E: [email protected]
> M: +94752806528, 0777216903
> Blog: hariwso2.blogspot.com
>
> Skype : hariss636
> LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660
>
> WSO2, Inc.
> lean . enterprise . middleware
>
> https://wso2.com/signature
> http://wso2.com/about/team/hariprashath-thanarajah/
>



-- 
----------------------------------------------------------

*Nuwan Chamara Pallewela*


*Software Engineer*

*WSO2, Inc. *http://wso2.com
*lean . enterprise . middleware*

Email   *[email protected] <[email protected]>*
Mobile  *+94719079739@*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to