cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Server Alias ??

msteffke
13-Aquamarine

Server Alias ??

Hi group,
In ProToolkit I am using the ProServerModelNameToAliasedURL function
to find a model in CS, with success. I have created a version of the
program that uses this function for a sister company that sees into our
windchill. Though they are hooked into our windchill intralink, this
funtion fails to work on their end. I am not exactly sure what the
alias is supposed to be. At my site when we register the server, the
name is "Windchill", and the location is
"lmcwindchill.products.com\Windchill". I use "Windchill" as the alias.
At their site, when they register our server they use "Delfield" as the
name and the location is same as ours,
"lmcwindchill.products.com\Windchill". Does the alias need to be
either "Delfield", or "Windchill", or does the value of the Wstring not
really matter as its just local to my program?



Function ProServerModelNameToAliasedURL


Description
Gets aliased url for a given model name.
Synopsis
#include <prowtutils.h<br/><file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowtutils_h.h<br="/>tml> >
ProError
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" protoolkiterro<br="/>rs_h.html#ProError> ProServerModelNameToAliasedURL (
wchar_t
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowchar_h.htm<br="/>l#wchar_t> * alias
/* (In)
an alias of the server where the model resides.
*/
wchar_t
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowchar_h.htm<br="/>l#wchar_t> * model_name
/* (In)
model name.
*/
wchar_t
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" prowchar_h.htm<br="/>l#wchar_t> ** aliased_url
/* (Out)
The aliased url to the model. Free this string using
ProWstringFree
<file: d:=" ptc=" proewildfire5.0=" protoolkit64=" protkdoc=" api=" 5331.html="> ().

*/


Thanks, Mark

This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1


Mark -

Is this a synchronous or asynchronous Pro/Toolkit application?

My first suspect in a situation like this is firewall and proxy server
issues, especially if this were an asynchronous application.

Do any other Windchill-related functions work for your outside users?

> At their site, when they register our server they use "Delfield" as the
> name and the location is same as ours, "lmcwindchill.products.com
\Windchill".
> Does the alias need to be either "Delfield", or "Windchill", or does the
> value of the Wstring not really matter as its just local to my program?

I would try to answer this question by experimenting with different aliases
in your home company's environment.

|+| M a r k |+|

Mark Stallard
Rapid Response Development
information Solutions
Integrated Defense Systems
Raytheon Company




(business)
+1.339.645.6423
(cell)
+1.617.331.5443
(tie line)
224.6423

-



235 Presidential Way
Woburn, MA 01801-1060
www.raytheon.com


Raytheon Sustainability

This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this message
in error, please so advise the sender by reply e-mail and delete this
message. Thank you for your cooperation.









Top Tags