Cancel
Showing results for 
Search instead for 
Did you mean: 

Why the SOA response is different

Valued Contributor
Valued Contributor

Hi all,

 

I have a weird behavior, I have two programs to access the same WEB Services application, one of them is outside of teamcenter, is a test client, when I run the test client program I have the correct answer with the data I was expecting like you can see in the following image
 
Inline image 1
 
but when I do the same from inside BMIDE with a post action I get a new level of the response, do someone knows why and most importantly how to get the information?
 
Inline image 2
 
You can see ns2__Opportunity, this I don't have it when I run outside teamcenter.
 
Thanks for any response in advance.
 
Armando Luna
6 REPLIES

Re: Why the SOA response is different

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
No images.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Why the SOA response is different

Valued Contributor
Valued Contributor

Re: Why the SOA response is different

Valued Contributor
Valued Contributor

I added a ppt the first page is with the external program, and the second page is from the post action, thank you

Re: Why the SOA response is different

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
Other than seeing the additional debugging that BMIDE is providing through the 2tier connection, I don't see a difference? The external program doesn't know how to interpret the null values and returns "Information not available" while the internal program is able to show a little debug info about the null value {string={ size=1 }}. Maybe I'm missing something?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Why the SOA response is different

Valued Contributor
Valued Contributor

Thanks Randy for your response, in fact, if you can see in the images, the values returned in the external program is under ns1__Opportunity but in my BMIDE  it adds a new line ns2__Opportunity, maybe is an array but I can not get to that line and obtain the values., the debug is done in visual studio application

Re: Why the SOA response is different

Valued Contributor
Valued Contributor

Mystery resolved, the problem was that the libraries were compiled in different programs when I use the same in this case BMIDE all the problems were gone, the problem was related to the compile flags used by visual studio (standalone) and BMIDE using visual studio.

 

Thanks to all, I hope this help to someone else.

 

Armando