wsd12h parser generate .h file from wsdl file which contain class without member variable
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
wsd12h parser generate .h file from wsdl file which contain class without member variable
Hi,
wsd12h parser generate .h file from wsdl file which contain class without member variable
class _ns2__TaxesType_Jurisdiction
{
/// INHERITED FROM ns2__JurisdictionType:
// END OF INHERITED FROM ns2__JurisdictionType
} *Jurisdiction
Can you please assist..
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Randhir,
Could you please clarify how your question is connected with TestComplete?
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tanya,
In my soap response, i could see "<Jurisdiction jurisdictionLevel="STATE" jurisdictionId="24354">NEW YORK</Jurisdiction>"
soap response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<VertexEnvelope xmlns="urn:vertexinc:o-series:tps:8:0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Login>
<TrustedId>95-QvqF=SrV9GYrx</TrustedId>
</Login>
<InvoiceResponse documentDate="2019-02-06" transactionType="SALE">
<Customer>
<Destination taxAreaId="330612010"/>
</Customer>
<SubTotal>1000.0</SubTotal>
<Total>1088.75</Total>
<TotalTax>88.75</TotalTax>
<LineItem lineItemNumber="1">
<Quantity>1.0</Quantity>
<FairMarketValue>1000.0</FairMarketValue>
<ExtendedPrice>1000.0</ExtendedPrice>
<Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE">
<Jurisdiction jurisdictionLevel="STATE" jurisdictionId="24354">NEW YORK</Jurisdiction>
</Taxes>
.
but in output header file (.h file) which is generated by wsdl2h , i see class with out member variable
class _ns2__TaxesType_Jurisdiction
{
/// INHERITED FROM ns2__JurisdictionType:
// END OF INHERITED FROM ns2__JurisdictionType
} *Jurisdiction 0; ///< Optional element.
The problem here is i am unable to access Jurisdiction jurisdictionLevel from c++
Please help
Thanks
Randhir
.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not entirely clear, like @TanyaYatskovska mentioned, how this is related to TestComplete. Are you running a SOAPUI test via TestComplete? Are you using the Web Services feature of TestComplete? What have you attempted to implement in TestComplete? Could you provide screenshots of what you've tried, what your set up is, etc?
I mean, I'm SURE there are folks around here that can help you consume the wsdl and process it... but generally, this forum is for support and discussion around the TestComplete tool so any information on how you have attempted to use TC for this problem would probably be helpful in giving us what we need to help you.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
