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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 244k
  • Answers 244k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer For those interested in an answer to this, the closest… May 13, 2026 at 8:05 am
  • Editorial Team
    Editorial Team added an answer That Unicode codepoint is encoded in UTF32. .NET and Windows… May 13, 2026 at 8:05 am
  • Editorial Team
    Editorial Team added an answer Here is a list of mime types that are allowed… May 13, 2026 at 8:05 am

Related Questions

I'm trying to write a simple WCF Server + gSOAP client proof-of-concept application using
I am trying to generate a report by querying 2 databases (Sybase) in classic
I am trying to generate a Sandcastle help file for a website. In the
I am trying to generate equivalent MD5 hashes in both JavaScript and .Net. Not

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.