why port number:8443

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

why port number:8443

myofbiz
Hi all
To
access the webtools when i type  the url as:
https://localhost:8080/webtools/control/main., it changes to
https://localhost:8443/webtools/control/main why is the port number
changed to 8443..and are there any other ways to access webtools..I think I can also use my ipaddress.. Can you please clear my doubt..

Thanks
Adithi



     
Reply | Threaded
Open this post in threaded view
|

Re: why port number:8443

BJ Freeman
8843 is the port for secure URL that accompany the https://
it is like port 80 ad 443 on regular websites
the problems is if you just type https:// it will default to port 443,
so you have to tell the browser what port to look on.
the reason it changes is the controller request uri is set to
https="true"

You can use apache hpptd server and use apj so ofbiz is masked
then you can use
https://IPaddress/webtools
or
https://your.domain.com/webtools

adithi agarwal sent the following on 9/27/2008 3:47 PM:

> Hi all
> To
> access the webtools when i type  the url as:
> https://localhost:8080/webtools/control/main., it changes to
> https://localhost:8443/webtools/control/main why is the port number
> changed to 8443..and are there any other ways to access webtools..I think I can also use my ipaddress.. Can you please clear my doubt..
>
> Thanks
> Adithi
>
>
>
>      

Reply | Threaded
Open this post in threaded view
|

Re: why port number:8443

myofbiz
In reply to this post by myofbiz
Thankyou BJ




----- Original Message ----
From: BJ Freeman <[hidden email]>
To: [hidden email]
Sent: Saturday, September 27, 2008 4:01:42 PM
Subject: Re: why port number:8443

8843 is the port for secure URL that accompany the https://
it is like port 80 ad 443 on regular websites
the problems is if you just type https:// it will default to port 443,
so you have to tell the browser what port to look on.
the reason it changes is the controller request uri is set to
https="true"

You can use apache hpptd server and use apj so ofbiz is masked
then you can use
https://IPaddress/webtools
or
https://your.domain.com/webtools

adithi agarwal sent the following on 9/27/2008 3:47 PM:

> Hi all
> To
> access the webtools when i type  the url as:
> https://localhost:8080/webtools/control/main., it changes to
> https://localhost:8443/webtools/control/main why is the port number
> changed to 8443..and are there any other ways to access webtools..I think I can also use my ipaddress.. Can you please clear my doubt..
>
> Thanks
> Adithi
>
>
>
>      


     
Reply | Threaded
Open this post in threaded view
|

how to retrieve partyId from createCustomer

Jacek Wagner
In reply to this post by BJ Freeman
All,

There is a very complex service implementation "createCustomer". Yet
there is not a single service definition that defines createCustomer api.
What would be the best way to retrieve partyId from this service?

Jacek
Reply | Threaded
Open this post in threaded view
|

Re: how to retrieve partyId from createCustomer

cjhorton
Jacek,

I am new to ofbiz, but perhaps what you are looking for is here and
the lines below it in the method:

        <call-service service-name="createPersonAndUserLogin"
in-map-name="personUserLoginContext">
            <result-to-field result-name="partyId" map-name="tempMap"/>
            <result-to-field field-name="createdUserLogin"
result-name="newUserLogin"/>
        </call-service>

Calls the simple method createPersonAndUserLogin located in
PartySimpleMethods.xml

I hope this is what you are looking for.

-CJ
Reply | Threaded
Open this post in threaded view
|

Re: how to retrieve partyId from createCustomer

Jacek Wagner
CJay,

I have already tried to use tempMap in the subsequent screen widget
               

<set field="partyId" from-field="tempMap"/>   ; did not work

Jacek


CJay Horton wrote:

> Jacek,
>
> I am new to ofbiz, but perhaps what you are looking for is here and
> the lines below it in the method:
>
>         <call-service service-name="createPersonAndUserLogin"
> in-map-name="personUserLoginContext">
>             <result-to-field result-name="partyId" map-name="tempMap"/>
>             <result-to-field field-name="createdUserLogin"
> result-name="newUserLogin"/>
>         </call-service>
>
> Calls the simple method createPersonAndUserLogin located in
> PartySimpleMethods.xml
>
> I hope this is what you are looking for.
>
> -CJ
>  

Reply | Threaded
Open this post in threaded view
|

Re: how to retrieve partyId from createCustomer

Abhishake Agarwal
try <field-to-result map-name="tempMap" field-name="partyId"
result-name="partyId_OUT_VariableName"/>

On Fri, Dec 12, 2008 at 9:32 PM, Jacek Wagner <[hidden email]>wrote:

> CJay,
>
> I have already tried to use tempMap in the subsequent screen widget
>
> <set field="partyId" from-field="tempMap"/>   ; did not work
>
> Jacek
>
>
>
> CJay Horton wrote:
>
>> Jacek,
>>
>> I am new to ofbiz, but perhaps what you are looking for is here and
>> the lines below it in the method:
>>
>>        <call-service service-name="createPersonAndUserLogin"
>> in-map-name="personUserLoginContext">
>>            <result-to-field result-name="partyId" map-name="tempMap"/>
>>            <result-to-field field-name="createdUserLogin"
>> result-name="newUserLogin"/>
>>        </call-service>
>>
>> Calls the simple method createPersonAndUserLogin located in
>> PartySimpleMethods.xml
>>
>> I hope this is what you are looking for.
>>
>> -CJ
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: how to retrieve partyId from createCustomer

Jacek Wagner
createCustomer before change:
       .......
        <call-service service-name="createPersonAndUserLogin"
in-map-name="personUserLoginContext">
            <result-to-field result-name="partyId" map-name="tempMap"/>
            <result-to-field field-name="createdUserLogin"
result-name="newUserLogin"/>          
        </call-service>
        .........
       
 createCustomer after change:
       ......
        <call-service service-name="createPersonAndUserLogin"
in-map-name="personUserLoginContext">
            <result-to-field result-name="partyId" map-name="tempMap"/>
            <result-to-field field-name="createdUserLogin"
result-name="newUserLogin"/>          
        </call-service>
        <field-to-result map-name="tempMap" field-name="partyId"
result-name="partyId_OUT_VariableName"/>
       ......

Result: any reference to tempMap, partyId or partyid_OUT_VariableName in
subsequent screen widget shows no data

Jacek

Abhishake Agarwal wrote:

> try <field-to-result map-name="tempMap" field-name="partyId"
> result-name="partyId_OUT_VariableName"/>
>
> On Fri, Dec 12, 2008 at 9:32 PM, Jacek Wagner <[hidden email]>wrote:
>
>  
>> CJay,
>>
>> I have already tried to use tempMap in the subsequent screen widget
>>
>> <set field="partyId" from-field="tempMap"/>   ; did not work
>>
>> Jacek
>>
>>
>>
>> CJay Horton wrote:
>>
>>    
>>> Jacek,
>>>
>>> I am new to ofbiz, but perhaps what you are looking for is here and
>>> the lines below it in the method:
>>>
>>>        <call-service service-name="createPersonAndUserLogin"
>>> in-map-name="personUserLoginContext">
>>>            <result-to-field result-name="partyId" map-name="tempMap"/>
>>>            <result-to-field field-name="createdUserLogin"
>>> result-name="newUserLogin"/>
>>>        </call-service>
>>>
>>> Calls the simple method createPersonAndUserLogin located in
>>> PartySimpleMethods.xml
>>>
>>> I hope this is what you are looking for.
>>>
>>> -CJ
>>>
>>>
>>>      
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: how to retrieve partyId from createCustomer

Abhishake Agarwal
if you call service through controller event, I think result map containing
partyid_OUT_VariableName is set to request attribute.


On Fri, Dec 12, 2008 at 10:54 PM, Jacek Wagner <[hidden email]>wrote:

> createCustomer before change:
>      .......
>       <call-service service-name="createPersonAndUserLogin"
> in-map-name="personUserLoginContext">
>           <result-to-field result-name="partyId" map-name="tempMap"/>
>           <result-to-field field-name="createdUserLogin"
> result-name="newUserLogin"/>                 </call-service>
>       .........
>      createCustomer after change:
>      ......
>       <call-service service-name="createPersonAndUserLogin"
> in-map-name="personUserLoginContext">
>           <result-to-field result-name="partyId" map-name="tempMap"/>
>           <result-to-field field-name="createdUserLogin"
> result-name="newUserLogin"/>                 </call-service>
>       <field-to-result map-name="tempMap" field-name="partyId"
> result-name="partyId_OUT_VariableName"/>
>      ......
>
> Result: any reference to tempMap, partyId or partyid_OUT_VariableName in
> subsequent screen widget shows no data
>
> Jacek
>
>
> Abhishake Agarwal wrote:
>
>> try <field-to-result map-name="tempMap" field-name="partyId"
>> result-name="partyId_OUT_VariableName"/>
>>
>> On Fri, Dec 12, 2008 at 9:32 PM, Jacek Wagner <[hidden email]
>> >wrote:
>>
>>
>>
>>> CJay,
>>>
>>> I have already tried to use tempMap in the subsequent screen widget
>>>
>>> <set field="partyId" from-field="tempMap"/>   ; did not work
>>>
>>> Jacek
>>>
>>>
>>>
>>> CJay Horton wrote:
>>>
>>>
>>>
>>>> Jacek,
>>>>
>>>> I am new to ofbiz, but perhaps what you are looking for is here and
>>>> the lines below it in the method:
>>>>
>>>>       <call-service service-name="createPersonAndUserLogin"
>>>> in-map-name="personUserLoginContext">
>>>>           <result-to-field result-name="partyId" map-name="tempMap"/>
>>>>           <result-to-field field-name="createdUserLogin"
>>>> result-name="newUserLogin"/>
>>>>       </call-service>
>>>>
>>>> Calls the simple method createPersonAndUserLogin located in
>>>> PartySimpleMethods.xml
>>>>
>>>> I hope this is what you are looking for.
>>>>
>>>> -CJ
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>