Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 327447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:24:11+00:00 2026-05-12T09:24:11+00:00

I am trying to generate gsoap classes for the JIRA issue tracking system WSDL.

  • 0

I am trying to generate gsoap classes for the JIRA issue tracking system WSDL. I run these commands to generate the required classes:

$ wsdl2h -o JIRASoap.h <url to wsdl>
$ soapcpp2 -C JIRASoap.h

The soapcpp2 command gives the following output, but does not indicate how to fix it.

There were errors:
3 syntax errors
1 semantic error
2 warnings

These are (most of) the errors:

JIRASoap.h(935): syntax error
JIRASoap.h(934): Syntax error: input before ; skipped
JIRASoap.h(940): syntax error
JIRASoap.h(939): Syntax error: input before ; skipped

JIRASoap.h(942): **ERROR**: Duplicate declaration of __size (already declarared at line 937)

JIRASoap.h(947): syntax error
JIRASoap.h(946): Syntax error: input before ; skipped

Here is the relevant portion of JIRASoap.h (lines 928-947):

/// SOAP encoded array of xs:byte[]
class ArrayOf_USCORExsd_USCOREbase64Binary
{ public:
/// SOAP encoded array of xs:byte
class 
{ public:
/// Pointer to array of xsd__byte.
    xsd__byte                           *__ptr                         ;
/// Size of the dynamic array.
    int                                  __size                        ;
/// Offset for partially transmitted arrays (uncomment only when required).
//  int                                  __offset                      ;
    }                                   *__ptr                         ;
/// Size of the dynamic array.
    int                                  __size                        ;
/// Offset for partially transmitted arrays (uncomment only when required).
//  int                                  __offset                      ;
/// A handle to the soap struct that manages this instance (automatically set)
    struct soap                         *soap                          ;
};

When I try to compile my program, I get this error:

soapStub.h:2799: error: ISO C++ forbids declaration of ‘ArrayOf_USCORExsd_USCOREbase64Binary’ with no type

Here is the relevant section of the WSDL:

<complexType name="ArrayOf_xsd_base64Binary">
  <complexContent>
    <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:byte[][]"/>
    </restriction>
  </complexContent>
</complexType>

As far as I can tell, most types are defined in soapStub.h, but ArrayOf_USCORExsd_USCOREbase64Binary is not.

When I generate C only files, I get “struct /*?*/” instead of “ArrayOf_USCORExsd_USCOREbase64Binary”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:24:11+00:00Added an answer on May 12, 2026 at 9:24 am

    I managed to get the code to compile by removing all references to ArrayOf_USCORExsd_USCOREbase64Binary from JIRASoap.h, including the class itself and the ns4_addAttachmentsToIssue method (which takes a pointer to an ArrayOf_USCORExsd_USCOREbase64Binary as a parameter).

    If you find a way to fix the errors above without removing the ns4_addAttachmentsToIssue, please let me know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to generate the wsdl for my services I get the message: Handler
While trying to generate classes from a xsd, i got this error: java.lang.IllegalArgumentException: Illegal
I`am trying to generate web service client through MyEclipse, using my wsdl. Ive got
Trying to generate JavaDocs for the Android lint-cli project on Mac 10.7 Keep getting
Im trying to generate a color gradient using ColdFusion. My current code below works
I trying to generate an XML document which is around 23 to 30 MB,
I'm trying to generate a report of the activities that users have done within
I'm trying to generate the following html code using cl-who: <html> <body> <div id=cnt_1></div>
I have been trying to generate report as per age differences of different months
Im am trying to generate interfaces of HP Quality Center OTACLien.dll using com4j. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.