did not find the element "id" in the type define of RemoteProject (vba - soap)

d d March 20, 2012

my code:

Dim temp As Variant

AuthToken = loJira.wsm_login(JIRA_UserId, JIRA_UserPwd)

temp = loJira.wsm_getProjectsNoSchemes(AuthToken)

I want to get all the projects from the JIRA via VBA ,but the result is an exception:"did not find the element "id" in the type define of RemoteProject "

Does any one can solve this problem ?? Thank you !!

6 answers

0 votes
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2012

is the question still important to you?

0 votes
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2012

Meanwhile i have created a WSDL file in document/literal format for another question here. Could you check if the .txt file attached to my answer https://answers.atlassian.com/questions/49462/jira-soap-document-literal-style helps when you create your VBA proxy classes from it?

I really don't know if it works but if you could give a short try, it would be nice

0 votes
d d April 10, 2012

Yeah ,thank you for your advice.

0 votes
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 30, 2012
Probably you should cross post that in a VBA forum to find more people here that know how to deal with VBA and callimg webservices. i guess most of the experts here a Java geeks not so involved with MS
0 votes
d d March 28, 2012

in my opinion, you thought is right . But I am new to vba and SOAP, so I don't quite understand how to add the id elements to local proxy( the generated VBA classes and local wsdl files ) . Thank you.

0 votes
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2012
To me it looks like the local stubs created by the VBA runtime do not recognize the elements id and name returned in the soap answer. These fields are part of most RemoteXXXXX classes since these classes inherit from AbstractNamedRemoteEntity (brings name) which in turn inherits from AbstractRemoteEntity (brings id). One would need to find a way to add the fields id and name to the generated VBA classes and local wsdl files but my knowledge ends here since i've left the Microsoft world some years ago.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events